Unsure on how to approach this concurrency problem

This is a discussion on Unsure on how to approach this concurrency problem within the C# Programming forums, part of the General Programming Boards category; Hello all, I've been given an assignment to be written in C#, and I'm unsure how to approach it. The ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    42

    Unsure on how to approach this concurrency problem

    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 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.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What do you think the threads would be?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    42
    Quote Originally Posted by matsp View Post
    What do you think the threads would be?

    --
    Mats
    One for each plane?

  4. #4
    Registered User
    Join Date
    Apr 2008
    Location
    USA
    Posts
    22

    Lightbulb

    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  3. Segmentation Fault Problem: Urgent Help
    By bodydrop in forum C Programming
    Replies: 3
    Last Post: 05-05-2006, 08:02 PM
  4. Replies: 8
    Last Post: 04-19-2006, 09:07 AM
  5. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 05:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21