"kargahi"<kargahi@moe.or.ir> writes:
1. I tried more than a few times to create a 'task' with the l4_task_new system call but i couldn't. If possible, please send me some examples and describtion on creating tasks except the L4 manuals.
In order to create a new task using l4_task_new, you need to own a task-creation right first. You can get one from Rmgr using the librmgr.a library call rmgr_get_task(). After that, l4_task_new() should work. Also, please don't forget that the new task needs a pager. I'll append a simple example below.
2. I am looking for the manager of resource CPU( scheduler ). Please guide me that where is the scheduler and how i can change it with my algorithm.
Most of it is implemented in thread_t::schedule(). Regards, Michael -- hohmuth@innocent.com, hohmuth@sax.de http://www.sax.de/~hohmuth/