aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-02-04 16:44:47 +0000
committerErlang/OTP <[email protected]>2010-02-04 16:44:47 +0000
commitfad1a1523c0983c940376fb7a3381154cf688643 (patch)
treed9835f17448b84f60742966e4cee8b0474b84849 /erts/emulator/beam
parent57177e12e5682c74b8f977f4b3a2f5aececc4b52 (diff)
downloadotp-fad1a1523c0983c940376fb7a3381154cf688643.tar.gz
otp-fad1a1523c0983c940376fb7a3381154cf688643.tar.bz2
otp-fad1a1523c0983c940376fb7a3381154cf688643.zip
Fixed an erroneous assertion.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_port_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_port_task.c b/erts/emulator/beam/erl_port_task.c
index 3cb5a966ac..fff51b5f27 100644
--- a/erts/emulator/beam/erl_port_task.c
+++ b/erts/emulator/beam/erl_port_task.c
@@ -575,7 +575,7 @@ erts_port_task_schedule(Eterm id,
}
#endif
- ASSERT(!(runq->flags & ERTS_RUNQ_FLG_SUSPENDED));
+ ASSERT(!enq_port || !(runq->flags & ERTS_RUNQ_FLG_SUSPENDED));
ASSERT(pp->sched.taskq);
ASSERT(ptp);