"Ye Deng" <[email protected]> writes:

> If some thread does not give up system processing resource by itself, it leads
> starvation to the other threads in the same co_group?
> e.g. "while(1){}" in an event handler may stop the whole system, since there
> is only one co_group now.

Yes.

If you need preemptive scheduling, use a native thread (and then
you will need to synchronize with NOX to interact with it).

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to