fix Lwt_fiber fast path #3

Merged
merged 1 commit into from Jun 17, 2011

Projects

None yet

2 participants

@avsm
avsm commented Jun 17, 2011

fix fast-path in Lwt_fiber: if an await returns immediately then restore active_prompt before returning to the fiber.

This lets me call await (Lwt.return ()) multiple times from inside Lwt_fiber.start

@avsm avsm fix fast-path in Lwt_fiber: if an await returns immediately then rest…
…ore active_prompt before returning to the fiber
9a656ba
@jaked jaked merged commit 48116cf into jaked:master Jun 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment