UnblockingFunc

Swift
public enum UnblockingFunc

A way to unblock a thread executing inside a callWithoutGvl section.


Topics

case io

Same as RUBY_UBF_IO

For pthread platforms, sends SIGVTALRM to the thread until it wakes up.

Declaration
Swift
case io

case custom(() -> Void)

A custom unblocking function.

See Ruby thread.c if in any doubt.

Declaration
Swift
case custom(() -> Void)