eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
TimerSlot
eventcore
drivers
timer
Undocumented in source.
struct
TimerSlot {
TimerSlot
*
prev
;
TimerSlot
*
next
;
TimerID
id
;
uint
refCount
;
bool
pending
;
MonoTime
timeout
;
Duration
repeatDuration
;
TimerCallback2
callback
;
DataInitializer
userDataDestructor
;
ubyte
[
16
*
size_t
.
sizeof
]
userData
;
}
Members
Variables
callback
TimerCallback2
callback
;
Undocumented in source.
id
TimerID
id
;
next
TimerSlot
*
next
;
Undocumented in source.
pending
bool
pending
;
Undocumented in source.
prev
TimerSlot
*
prev
;
Undocumented in source.
refCount
uint
refCount
;
Undocumented in source.
repeatDuration
Duration
repeatDuration
;
Undocumented in source.
timeout
MonoTime
timeout
;
Undocumented in source.
userData
ubyte
[
16
*
size_t
.
sizeof
]
userData
;
Undocumented in source.
userDataDestructor
DataInitializer
userDataDestructor
;
Undocumented in source.
Meta
Source
See Implementation
eventcore
drivers
timer
classes
LoopTimeoutTimerDriver
structs
TimerSlot