Class: TIMEx::Strategies::Unsafe

Inherits:
Base
  • Object
show all
Defined in:
lib/timex/strategies/unsafe.rb

Overview

Note:

Prefer Cooperative, IO, Closeable, or Subprocess unless you explicitly accept these semantics.

Watchdog thread that raises Expired into the caller via Thread#raise after the deadline. Unsafe: does not stop CPU work; can leave shared state inconsistent if the block is not written for asynchronous exceptions.

See Also:

Method Summary

Methods inherited from Base

call, #call