Event.ensure

Ensures that the calling Thread gets a registered pipe added for it when called.

This can be useful if one wants to initialize several threads that should be able to all be notified and wake up on their first call to wait instead of having wait ensure the pipe is created on first call.

class Event
final
void
ensure
()

Throws

FatalException on creating the pipe-pair if needs be

Meta