eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
EventDriverCore.runInOwnerThread
eventcore
driver
EventDriverCore
Executes a callback in the thread owning the driver.
void
runInOwnerThread
(ThreadCallbackGen fun, ThreadCallbackGenParams params)
void
runInOwnerThread
(void function(ARGS) @(safe) nothrow fun, ARGS args)
interface
EventDriverCore
final shared
void
runInOwnerThread
(
ARGS
...
)
(
void
function
(
ARGS
)
@
safe
nothrow
fun
,
ARGS
args
)
if
(
ARGS.length
!= 1 ||
!
is
(
ARGS
[0] ==
ThreadCallbackGenParams
)
)
Meta
Source
See Implementation
eventcore
driver
EventDriverCore
functions
clearExitFlag
exit
processEvents
rawUserData
runInOwnerThread
waiterCount
properties
userData
Executes a callback in the thread owning the driver.