-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libflux: handle one message per _then cb
Rather than looping in the rpc implementation if there are still responses to consume after the user's continuation callback runs, push messages back into the receive queue and let the reactor call the handler again based on its concept of fairnes.
- Loading branch information
Showing
1 changed file
with
40 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters