Skip to content
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

channel TODO get process state under mutex? #26

Closed
FelixPetriconi opened this issue Dec 7, 2016 · 3 comments
Closed

channel TODO get process state under mutex? #26

FelixPetriconi opened this issue Dec 7, 2016 · 3 comments
Assignees

Comments

@FelixPetriconi
Copy link
Member

Open issue:

channel.hpp
if (!_process_suspend_count) {
// FIXME (sparent): This is calling the process state ender the lock.
if (get_process_state(_process).first == process_state::yield || !_queue.empty()
|| _process_close_queue) {
do_run = true;
} else {
_process_running = false;
do_run = false;
}
}

@FelixPetriconi FelixPetriconi self-assigned this Sep 11, 2017
@fosterbrereton fosterbrereton mentioned this issue Sep 11, 2017
12 tasks
sean-parent added a commit that referenced this issue Oct 12, 2017
@FelixPetriconi
Copy link
Member Author

FelixPetriconi commented Nov 10, 2017

Fix remaining race condition in step() and then remove the access under the mutex

@FelixPetriconi
Copy link
Member Author

Fixed with PR #100

@fosterbrereton
Copy link
Member

This issue has been fixed in master as of the 1.1 release.

nickpdemarco pushed a commit that referenced this issue Aug 4, 2022
Adding more code examples and moving existing to external example files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants