Skip to content

Outline of how to support mutex. #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Outline of how to support mutex. #72

wants to merge 1 commit into from

Conversation

ioquatix
Copy link
Member

No description provided.

@ioquatix ioquatix marked this pull request as draft August 17, 2020 03:22
Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -148,6 +148,22 @@ def << fiber
@ready << fiber
end

# Resume the given fiber on the next iteration of the reactor. If urgent, try to wake up the reactor if it is currently waiting for events.
# @parameter fiber [Object] Any object that responds to `#resume`.
# @reentrant Thread safe. Fiber will be invoked in the context of the scheduler's thread.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice annotation!

@ioquatix ioquatix closed this Sep 7, 2020
@ioquatix ioquatix deleted the mutex-support branch September 7, 2020 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants