In article <. com>,
says...
> I want to write a task scheduler. But i cant make the logic between
> the scheduler and tasks.
> For example a have an external process which can add and delete tasks
> from scheduler.
> Every task has an id and number(Task1,Task2...). It will delete tasks
> by looking at their IDs.
> Scheduler complete the tasks and sets a flag=0, then ext process
> starts again.
> How can i store id,number,add/delete function and pass them t the
> scheduler?
It looks like everything you're asking about right now is related to
inter-process communication, which isn't standardized in C++. A
newsgroup devoted to your target OS will probably be helpful in this
regard.
--
Later,
Jerry.
The universe is a figment of its own imagination.