Thread: Multitask

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    54

    Multitask

    Hello All,

    I encounter a problem, please help me if you can.
    I write a program that receives multitask and executes these tasks. The program will have two buffers. The data will be stored in these buffers one after another continiously. When the data is filled up to the first buffer, the program will execute the data by calling function while the data is being filled into the second buffer. The program then displays the whole procedure of this including filling the buffers and executing the data in function called. I think it's some kind of pipeline but don't know how to do it. Any help would be appreciated very much.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    Umm.... what???

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    I do not understand exactly what you mean. But if you are talking about interprocess communication (IPC), then this site may be interesting:

    http://www.cs.cf.ac.uk/Dave/C/

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    54
    Thanks Shiro! I will look at the website you gave carefully and if I have question I will come back and ask.

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    You can use semiphores. I didn't look at the link, but if it does cover what you are asking then it will explain semiphores.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. multitask
    By madsmile in forum C++ Programming
    Replies: 1
    Last Post: 03-18-2002, 10:30 PM
  2. Multitask
    By IcyDeath in forum C Programming
    Replies: 7
    Last Post: 10-10-2001, 04:41 AM