Unsure on how to approach this concurrency problem [Archive] - C Board

PDA

View Full Version : Unsure on how to approach this concurrency problem


osiris^
04-03-2008, 03:19 AM
Hello all,

I've been given an assignment to be written in C#, and I'm unsure how to approach it. The assignment is meant to assess our skill in concurrent programming, which - after reading the concurrency-related sections in Deitel's C# for Programmers - I thought I understood. I think it's the whole graphics aspect which is confusing me.

Anyway, this link (http://img396.imageshack.us/img396/9894/assignmentze5.jpg) gives a brief intro of my assignment.

I'm not asking anyone to write any code, I just need someone to help me break down the problem and tell me how to approach it. I felt I understood concurrency, but after reading this assignment, I just can't see where to begin.

Thanks.

matsp
04-03-2008, 03:45 AM
What do you think the threads would be?

--
Mats

osiris^
04-03-2008, 03:52 AM
What do you think the threads would be?

--
Mats

One for each plane?

TheRaven
04-29-2008, 11:47 PM
For future reference, the first step is always Object Oriented Analysis (OOA), secondly Object Oriented Design Analysis (OODA), thirdly Object Oriented Programming (OOP), and finally Object Oriented Design (OOD).

Analyze your system from a users point of view starting at the desktop short cut or start menu option and go from there. It will help you maintain focus.

Using a cube as an example:

The cube represents a thread pool. Each face/planar represents an individual thread. Sounds like a virtual desktop environment with the individual desktops on the faces of a cube doesn't it...

See your system as a group of objects only after you visually determine what you want your system to look like and how you want it to handle. Keep it simple with small steps and smaller bites as to not overwhelm yourself.