Skip to content
Snippets Groups Projects
Commit a5fda6b2 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-01-17 17:33:30 by simonmar]

Put a giant loop around awaitEvent, to protect against
awaitEvent(rtsTrue) returning with no threads to run.

This can happen if we try to delay for some time X, and select(2)
decides to wait for a shorter time X-\delta instead.  It appears that
Solaris is more prone to doing this than Linux.

This fixes the "schedule: invalid whatNext field" crashes that people
may have seen.
parent b7fee038
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment