concurrency v5.0.3 (2023-04-12T14:20:47Z)
Dub
Repo
ForkSender
concurrency
fork
Undocumented in source.
version(Posix)
struct
ForkSender {
alias
Value
=
void
;
alias
Fun
=
void
delegate
()
shared
;
alias
AfterFork
=
void
delegate
(
int
)
;
struct
Operation
(Receiver)
;
this
(Executor executor, void delegate() shared fun, void delegate(int) afterFork);
auto
connect
(Receiver receiver);
static
void
reinitThreadLocks
();
}
Constructors
this
this
(Executor executor, void delegate() shared fun, void delegate(int) afterFork)
Undocumented in source.
Members
Aliases
AfterFork
alias
AfterFork
=
void
delegate
(
int
)
Undocumented in source.
Fun
alias
Fun
=
void
delegate
()
shared
Undocumented in source.
Value
alias
Value
=
void
Undocumented in source.
Functions
connect
auto
connect
(Receiver receiver)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
reinitThreadLocks
void
reinitThreadLocks
()
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
Operation
struct
Operation
(Receiver)
Undocumented in source.
Meta
Source
See Implementation
concurrency
fork
structs
ForkSender