Documentation
¶
Overview ¶
Package watchentered tells a watch delivery that its listener went on to a wait the host knows.
Pi runs a listener's synchronous part, up to its first await, before the code that awaited a commit resumes. A Go listener is a blocking call: the delivery scheduler (chord.DeliveryScheduler.AwaitEntered) orders what runs before its first wait by having the waits of the host say so. The delivery registers its goroutine here; a wait that the host provides (the Session's Park, a gate or line wait, the host loop's park) calls Entered, which marks the delivery on the calling goroutine entered. The mapping is by goroutine ID, so a listener passes nothing, and reads no goroutine state beyond the caller's own ID.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.