vibe.d beta banner
get vibe.d
0.7.31

ManualEvent.wait - multiple declarations

Function ManualEvent.wait

Acquires ownership and waits until the signal is emitted.

abstract void wait ();

Throws

May throw an InterruptException if the task gets interrupted using Task.interrupt().

Function ManualEvent.wait

Acquires ownership and waits until the emit count differs from the given one.

abstract int wait (
  int reference_emit_count
);

Throws

May throw an InterruptException if the task gets interrupted using Task.interrupt().

Function ManualEvent.wait

Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached.

abstract int wait (
  core.time.Duration timeout,
  int reference_emit_count
);

Throws

May throw an InterruptException if the task gets interrupted using Task.interrupt().

Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.