[REBOL] Re: Function "LAUNCH" - Usage questions
From: g:santilli:tiscalinet:it at: 12-Jun-2002 11:35
Hi Alessandro,
On Wednesday, June 12, 2002, 9:13:22 AM, you wrote:
rei> how do you think you can implement multitasking (even cooperative, but
rei> enough efficient, with an enough fast task-switching) in Rebol Core?
rei> Using WAIT instruction? And in View that the documentation suggest NOT
rei> TO USE wait command?
I think you got this wrong here. :) WAIT is the basis of /View's
event system, since events are coming from the event:// port. What
you cannot do, is call WAIT *inside* WAIT (i.e. inside an event
handler, etc.).
If you want an example of cooperative multitasking look at Rugby.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r