Alex Gian <[EMAIL PROTECTED]> writes:

> but are all those
>
> --- SIGALRM (Alarm clock) @ 0 (0) ---
>
> meant to be there? are they part of some timing mechanism in the 
> emulator?  Just curious.

yes. this is how we implement preemptive scheduling of oz threads.  the timer
tells the emulator that it is time to switch to a new thread.  it simply sets a
flag and the emulator checks that flag at certain "safe" points (such as
procedure invocations and returns).

Cheers,

-- 
Dr. Denys Duchier - IRI & LIFL - CNRS, Lille, France
+33 (0)6 25 78 25 74    http://www.lifl.fr/~duchier/
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to