On May 12, 2009, at 24:00 , Nikhil Handigol wrote:

Would the function start() not set t2 running the first time?

Co_thread::start() certainly prepares the t2 to be ready for running, but no, it won't schedule it immediately. The caller of the start() has to block/yield before other threads will get an opportunity to be scheduled.

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

Reply via email to