concurrency v5.0.0 (2022-10-19T08:12:29Z)
Dub
Repo
SignalHandler
concurrency
signal
Undocumented in source.
struct
SignalHandler {
import
core
.
atomic
:
atomicStore
,
atomicLoad
,
MemoryOrder
,
atomicExchange
;
;
import
core
.
atomic
:
atomicStore
,
atomicLoad
,
MemoryOrder
,
atomicExchange
;
;
import
core
.
atomic
:
atomicStore
,
atomicLoad
,
MemoryOrder
,
atomicExchange
;
;
import
core
.
atomic
:
atomicStore
,
atomicLoad
,
MemoryOrder
,
atomicExchange
;
;
import
core
.
thread
:
Thread
;
;
static shared
int
lastSignal
;
enum
int
ABORT
;
import
core
.
sync
.
event
:
Event
;
;
version
(
Windows
)
static
void
notify
(int num);
import
core
.
sys
.
posix
.
unistd
:
write
,
read
;
;
import
core
.
sys
.
posix
.
unistd
:
write
,
read
;
;
version
(!
Windows
)
version
(
linux
)
static
void
notify
(int num);
import
core
.
sys
.
posix
.
unistd
:
write
,
read
,
pipe
;
;
import
core
.
sys
.
posix
.
unistd
:
write
,
read
,
pipe
;
;
import
core
.
sys
.
posix
.
unistd
:
write
,
read
,
pipe
;
;
version
(!
Windows
)
version
(!
linux
)
version
(
Posix
)
static
void
notify
(int num);
}
Members
Static functions
notify
void
notify
(int num)
Undocumented in source. Be warned that the author may not have intended to support it.
notify
void
notify
(int num)
Undocumented in source. Be warned that the author may not have intended to support it.
notify
void
notify
(int num)
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
lastSignal
int
lastSignal
;
Undocumented in source.
Variables
ABORT
enum
int
ABORT
;
Undocumented in source.
Meta
Source
See Implementation
concurrency
signal
functions
concurrency_globalStopSourcePointer
globalStopSource
setGlobalStopSource
setupCtrlCHandler
static functions
signalHandler
structs
SignalHandler