diff options
author | Rickard Green <rickard@erlang.org> | 2011-04-07 11:54:37 +0200 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2011-04-11 17:29:39 +0200 |
commit | b7ecdcd1ae9e11b8f75e11b82d94da32837932bc (patch) | |
tree | 74ef2fc7fb53a0549c03298b9053fee1c0a5ac1e /erts/emulator/beam/erl_process.h | |
parent | e63eb63e2e8b8298826f2df7192e982a4e272749 (diff) | |
download | otp-b7ecdcd1ae9e11b8f75e11b82d94da32837932bc.tar.gz otp-b7ecdcd1ae9e11b8f75e11b82d94da32837932bc.tar.bz2 otp-b7ecdcd1ae9e11b8f75e11b82d94da32837932bc.zip |
Fix thread unsafe access
Fix thread unsafe access to process status field introduced in OTP-9125.
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 8f78a7d76e..334ae5573f 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -895,6 +895,7 @@ extern struct erts_system_profile_flags_t erts_system_profile_flags; #define F_HAVE_BLCKD_MSCHED (1 << 8) /* Process has blocked multi-scheduling */ #define F_P2PNR_RESCHED (1 << 9) /* Process has been rescheduled via erts_pid2proc_not_running() */ #define F_FORCE_GC (1 << 10) /* Force gc at process in-scheduling */ +#define F_HIBERNATE_SCHED (1 << 11) /* Schedule out after hibernate op */ /* process trace_flags */ #define F_SENSITIVE (1 << 0) |