[EMAIL PROTECTED] wrote:
> I would like to know how to incerase the size of scheduler task queue
> (default is 7). Also what changes to be made to make the scheduler a priority
> based? there are papers on this but is there any implementation available so
> that we can directly incorporate this.
>
> Thanks
> Gaurav
Hi Gaurav,
Take a look at /opt/tinyos-1.x/tos/system/sched.c (starting at line 64).
You should only have to define TOSH_MAX_TASKS_LOG2 in your Makefile to
something between 1 and 8, depending on whether you want 2, 4, 8, 16, 32
etc. and then recompile.
You would add this to your Makefile with a line like:
CFLAGS += -DTOSH_MAX_TASKS_LOG2=6
Hope that helps,
tony
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help