diff options
author | Raimo Niskanen <[email protected]> | 2012-03-20 09:49:09 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2012-03-21 10:20:00 +0100 |
commit | 5b740336b0d7d0aec7c4df3b3e5c968ec0456766 (patch) | |
tree | c185f7f25de7928bdce3254db202ec125d077696 /erts/emulator/beam/erl_process.h | |
parent | 1247343914e96b2516f628cce5658a4d21ecf6b2 (diff) | |
download | otp-5b740336b0d7d0aec7c4df3b3e5c968ec0456766.tar.gz otp-5b740336b0d7d0aec7c4df3b3e5c968ec0456766.tar.bz2 otp-5b740336b0d7d0aec7c4df3b3e5c968ec0456766.zip |
erts: Implement erl_halt
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index c23810f15a..d671638ce8 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -264,6 +264,7 @@ typedef enum { #define ERTS_SSI_AUX_WORK_CHECK_CHILDREN (((erts_aint32_t) 1) << 8) #define ERTS_SSI_AUX_WORK_SET_TMO (((erts_aint32_t) 1) << 9) #define ERTS_SSI_AUX_WORK_MSEG_CACHE_CHECK (((erts_aint32_t) 1) << 10) +#define ERTS_SSI_AUX_WORK_REAP_PORTS (((erts_aint32_t) 1) << 11) typedef struct ErtsSchedulerSleepInfo_ ErtsSchedulerSleepInfo; @@ -341,6 +342,7 @@ struct ErtsRunQueue_ { int len; int wakeup_other; int wakeup_other_reds; + int halt_in_progress; struct { int len; @@ -1659,4 +1661,6 @@ erts_sched_poke(ErtsSchedulerSleepInfo *ssi) #endif - +void erl_halt(int code); +extern erts_smp_atomic32_t erts_halt_progress; +extern int erts_halt_code; |