diff options
author | Lukas Larsson <[email protected]> | 2014-02-19 15:12:29 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:16:07 +0100 |
commit | 2c20bdf2e146dbe27554be7f02982b503ecf08d5 (patch) | |
tree | 25b2fa4c31b9b8b67d05d98ea9874213337209d4 /erts/emulator | |
parent | ff77d5049cca221e82d1b28e862512069c399eb7 (diff) | |
download | otp-2c20bdf2e146dbe27554be7f02982b503ecf08d5.tar.gz otp-2c20bdf2e146dbe27554be7f02982b503ecf08d5.tar.bz2 otp-2c20bdf2e146dbe27554be7f02982b503ecf08d5.zip |
erts: Fix sys_msg_dispatcher assert
Schedulers is too restrictive. Managed threads should be
able to clean this up.
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_ptab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_ptab.c b/erts/emulator/beam/erl_ptab.c index fa5482b841..eabf016081 100644 --- a/erts/emulator/beam/erl_ptab.c +++ b/erts/emulator/beam/erl_ptab.c @@ -756,7 +756,8 @@ erts_ptab_delete_element(ErtsPTab *ptab, pix = erts_ptab_id2pix(ptab, ptab_el->id); - ASSERT(erts_get_scheduler_id()); /* *Need* to be a scheduler */ + /* *Need* to be an managed thread */ + ERTS_SMP_LC_ASSERT(erts_thr_progress_is_managed_thread()); erts_ptab_rlock(ptab); maybe_save = ptab->list.data.deleted.end != NULL; |