Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [view][crash] concurrent do-events limit.

From: rotenca::telvia::it at: 29-Mar-2004 14:11

Hi Maxin and Marteens,
> Actually... the limit should be one, as a wait inside a wait is useless: > a wait is for event processing so one is enough. Nesting waits makes no > sense. As Carl once said: "a wait is a wait" ;-)
Nesting makes sense: it is useful to let the system know where to go when the wait finish. Rebol handle this with nested wait. This is a standard behaviour used by the modal system which is usually called from event code. And this does not crash Rebol as Holger one time said (at least seems to me). The crash pointed by Maxim is already in tracker (#84): you can see what Carl says about it in the Notes section of the bug. Obviously this can be handled in another way, building a chain of filter function in one wait loop, but this is not the actual rebol implementation. --- Ciao Romano