[comp.lang.modula3] Question about Thread.AlertJoin

gnelson (Greg Nelson) (04/11/91)

Norman Ramsey asks:

       PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted};
       (* Like Join, but if the thread is marked alerted at the time
          of call or sometime during the wait, raise Alerted.
          Implementations may raise additional exceptions.  *)
     I assume ``the thread'' referred to is the thread executing
     AlertJoin, not the thread t which is the argument to AlertJoin?

Correct.  More evidence of the need for Larch Modula-3.

nr@cs.Princeton.EDU (Norman Ramsey) (04/11/91)

I note:
  PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted};
  (* Like Join, but if the thread is marked alerted at the time of call or
     sometime during the wait, raise Alerted. Implementations may raise
     additional exceptions. *)
I assume ``the thread'' referred to is the thread executing AlertJoin,
not the thread t which is the argument to AlertJoin?

-- 
Norman Ramsey
nr@princeton.edu

kalsow (Bill Kalsow) (04/12/91)

>    PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted};
>    (* Like Join, but if the thread is marked alerted at the time of call or
>       sometime during the wait, raise Alerted. Implementations may raise
>       additional exceptions. *)
>  I assume ``the thread'' referred to is the thread executing AlertJoin,
>  not the thread t which is the argument to AlertJoin?

Yes.

  - Bill Kalsow