-
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.
-
-
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/
-
Thanks Shiro! I will look at the website you gave carefully and if I have question I will come back and ask.
-
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.