diff options
author | Rickard Green <[email protected]> | 2015-06-04 22:08:33 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-06-09 19:35:48 +0200 |
commit | ea84ab6c03994f8d6d9f07d8740f0547f8a3cb51 (patch) | |
tree | 5080bdaf175f7d58669a26a5b084cc71bd5aa02a /erts/emulator/beam/erl_hl_timer.h | |
parent | 46efe0d85bc2f55dd432f403f20d4841b07023ed (diff) | |
download | otp-ea84ab6c03994f8d6d9f07d8740f0547f8a3cb51.tar.gz otp-ea84ab6c03994f8d6d9f07d8740f0547f8a3cb51.tar.bz2 otp-ea84ab6c03994f8d6d9f07d8740f0547f8a3cb51.zip |
Callback timer
Diffstat (limited to 'erts/emulator/beam/erl_hl_timer.h')
-rw-r--r-- | erts/emulator/beam/erl_hl_timer.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_hl_timer.h b/erts/emulator/beam/erl_hl_timer.h index 30889a71da..24c57fc873 100644 --- a/erts/emulator/beam/erl_hl_timer.h +++ b/erts/emulator/beam/erl_hl_timer.h @@ -59,7 +59,9 @@ int erts_cancel_bif_timers(Process *, ErtsBifTimers *, void **); int erts_detach_accessor_bif_timers(Process *, ErtsBifTimers *, void **); ErtsHLTimerService *erts_create_timer_service(void); void erts_hl_timer_init(void); - +void erts_start_timer_callback(ErtsMonotonicTime, + void (*)(void *), + void *); #ifdef ERTS_SMP void erts_handle_canceled_timers(void *vesdp, @@ -76,5 +78,10 @@ void erts_debug_bif_timer_foreach(void (*func)(Eterm, ErlHeapFragment *, void *), void *arg); - +void +erts_debug_callback_timer_foreach(void (*tclbk)(void *), + void (*func)(void *, + ErtsMonotonicTime, + void *), + void *arg); #endif /* ERL_HL_TIMER_H__ */ |