Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fiber: Introduce fiber.join() related methods
Introduce two functions * fiber.new() - create fiber, schedules it into the ready queue but doesn't call it and doesn't yield. Signature of the method is the same as for fiber.create * fiber.join() - waits until the specified fiber finishes its execution and returns result or error. Applicable only to joinable fibers. * fiber.set_joinable() - sets the fiber joinable flag Closes #1397
- Loading branch information
Showing
5 changed files
with
370 additions
and
19 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
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
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
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
Oops, something went wrong.