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

Barriers #74

Open
carstenbauer opened this issue Mar 7, 2024 · 1 comment
Open

Barriers #74

carstenbauer opened this issue Mar 7, 2024 · 1 comment

Comments

@carstenbauer
Copy link
Member

In the spirit of OpenMP's #pragma omp barrier and MPI.Barrier() it would be nice to have a barrier for shared-memory parallelism in Julia. Taka has worked on this it seems (https://github.com/JuliaConcurrent/SyncBarriers.jl). Does this still work? Can we / do we want to integrate some of it into OhMyThreads.jl?

@carstenbauer
Copy link
Member Author

This is also somewhat related to #73 (and the PR #93) because OMP has implicit barriers at the end of single/critical regions (IIRC) with an opt-out option nowait.

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

1 participant