aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-02 15:53:01 +0100
committerRickard Green <[email protected]>2017-01-02 15:53:01 +0100
commitae1c4b4dd1a4333727adb6875340e556a403a7fc (patch)
treeac5e193c7e12e5e0d0c190775029b6c2d3dbfad6 /erts/emulator/beam/erl_process.h
parente6f982d7374e148be51865a781af1f1982667af9 (diff)
parent9cb4770469218f65dbaec6c71d12b4aa722ac791 (diff)
downloadotp-ae1c4b4dd1a4333727adb6875340e556a403a7fc.tar.gz
otp-ae1c4b4dd1a4333727adb6875340e556a403a7fc.tar.bz2
otp-ae1c4b4dd1a4333727adb6875340e556a403a7fc.zip
Merge branch 'maint'
* maint: Multi scheduling block bug-fixes Fix VM global GC info for dirty schedulers Leave dirty work in dirty run-queues on multi scheduling block Fix premature removal of process struct Fix crash due to GC of node entry on dirty scheduler
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index 1c4b9f149d..7193b7d1db 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -1681,7 +1681,7 @@ ERTS_GLB_INLINE ErtsProcList *erts_proclist_fetch_first(ErtsProcList **list)
return NULL;
else {
ErtsProcList *res = *list;
- if (res == *list)
+ if (res->next == *list)
*list = NULL;
else
*list = res->next;