Download venv/lib/python3.10/site-packages/Cython/Includes/libcpp/barrier.pxd from Matt300209/eval_venv: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/Matt300209/eval_venv/resolve/main/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/barrier.pxd
- Command line
-
hf download hf://Matt300209/eval_venv/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/barrier.pxd
-
curl -L -o barrier.pxd https://huggingface.co/Matt300209/eval_venv/resolve/main/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/barrier.pxd
769 Bytes
| cdef extern from "<barrier>" namespace "std" nogil: | |
| # Note on thread safety: | |
| # For any of the blocking functions here you should be very | |
| # careful to ensure that you are not deadlocked on the GIL. | |
| cdef cppclass barrier[CompletionFunction = *]: | |
| cppclass arrival_token: | |
| pass | |
| barrier(ptrdiff_t expected) except+ | |
| # We *really* advise that CompletionFunction is nogil (but because it's a template, can't enforce it) | |
| barrier(ptrdiff_t expected, CompletionFunction f) except+ | |
| arrival_token arrive() except+ | |
| arrival_token arrive(ptrdiff_t n) except+ | |
| void wait(arrival_token t) except+ | |
| void arrive_and_wait() except+ | |
| void arrive_and_drop() except+ | |
| ptrdiff_t max() | |