vibe.d beta banner
get vibe.d
0.10.1

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

Function EventDriverCore.runInOwnerThread

Executes a callback in the thread owning the driver.

abstract void runInOwnerThread (
  nothrow @safe void function(ref ubyte[64]) fun,
  ref ubyte[64] params
) nothrow @safe shared;

final void runInOwnerThread(ARGS...) (
  nothrow @safe void function(ARGS) fun,
  ARGS args
) shared
if (ARGS.length != 1 || !is(ARGS[0] == ThreadCallbackGenParams));
Authors
Copyright
License