vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function sleepUninterruptible

Suspends the execution of the calling task an an uninterruptible manner.

void sleepUninterruptible (
  core.time.Duration timeout
) nothrow @safe;

This function behaves the same as sleep, except that invoking Task.interrupt on the calling task will not result in an InterruptException being thrown from sleepUninterruptible. Instead, if any, a later interruptible wait state will throw the exception.

Authors

Sönke Ludwig

Copyright

© 2012-2020 Sönke Ludwig

License

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