Re: submitting code
- Posted by jeremy (admin) Oct 01, 2009
- 1690 views
Date sent: Tue, 01 Sep 2009 08:37:00 -0400 From: Jeremy Cowgar <jeremy@cowgar.com> To: OpenEuphoria Developer Discussion <rapideuphoria-develop@lists.sourceforge.net> Subject: [Rapideuphoria-develop] task_yield and shared libraries
Instead of making task_yield a noop in shared libraries, would it be possible to make it call the main processes task_yield() function?
In the main process, the main process can call it's task_yield. No other task should be able to call the main process's task_yield.
Jeremy didn't say "call task_yield of the main process's task manager".
No, he said "call the main processes task_yield() function".
Which is exactly what it should do. Then you went into the idea of yielding to a parent task. That's what no one could understand. How do you go from the main processes task_yield() to the parent task?
Jeremy