Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > scheduler

Reply
Thread Tools

scheduler

 
 
yamca
Guest
Posts: n/a
 
      02-07-2007
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?

 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      02-07-2007
yamca wrote:
> 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?


Methinks you're in a wrong newsgroup. If you haven't figured out the
design yet (the interface) (and it seems like you haven't, otherwise
you'd probably have posted it in some kind of pseudo-code), then you
need help from comp.object. If you have figured out the design, then
please post it, in some non-working C++ notation, for example, and
only then ask your C++ language question. Otherwise it looks pretty
much like you don't have a C++ language question.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


 
Reply With Quote
 
 
 
 
Jerry Coffin
Guest
Posts: n/a
 
      02-07-2007
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dotnet scheduler like the Windows "Schedued Tasks" scheduler? Codemonkey ASP .Net 8 06-10-2011 10:53 AM
how to remove line "no scheduler allocate" Michael Cisco 1 01-21-2005 05:53 PM
What does "no scheduler allocate" mean? Steve Gross Cisco 1 08-11-2004 11:36 PM
scheduler process-watchdog reboot James Cisco 4 06-24-2004 04:26 AM
scheduler Alex Wagner ASP .Net 3 04-10-2004 12:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57