diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-06-03 17:09:40 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-06-03 17:13:32 -0700 |
commit | 196f41c705f1a4942a0591de768b2b80b032bbc0 (patch) | |
tree | 09d0a9339b9cf25eadf3d1dc0624af8b517d235c /bootstrap | |
parent | 1bf6fbb667b1e55bd3ec114fa9957d76a92f1aab (diff) |
libpulp: always swap contexts
In cases where the run queue was empty, the trampoline context would
immediately enter the caller context. Then the trampoline would be
reused again without being re-setup.
This seemed to work fine on Linux but was causing bus errors on OSX.
So instead now enter_context never used and contexts are always
swapped to preserve the state of the context being left, which
seems to have fixed the problem on OSX.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions