ScopedForeignCallback

RAII struct to cover extern callbacks. This only deals with CPU identification and FPU control words save/restore. But when we used an enabled D runtime, this used to manage thread attachment and disappearance, so calling this on callbacks is still mandated.

struct ScopedForeignCallback (
bool dummyDeprecated
bool saveRestoreFPU
) {}

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

enter
void enter()

Thread that shouldn't be attached are eg. the audio threads.

Meta