Download venv/lib/python3.10/site-packages/Cython/Includes/libcpp/latch.pxd from Matt300209/eval_venv: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/Matt300209/eval_venv/resolve/main/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/latch.pxd
- Command line
-
hf download hf://Matt300209/eval_venv/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/latch.pxd
-
curl -L -o latch.pxd https://huggingface.co/Matt300209/eval_venv/resolve/main/venv/lib/python3.10/site-packages/Cython/Includes/libcpp/latch.pxd
534 Bytes
| from libcpp cimport bool | |
| cdef extern from "<latch>" namespace "std" nogil: | |
| # Note on thread safety: | |
| # For any of the blocking functions, you should be very careful | |
| # to ensure that you are not deadlocked on the GIL. | |
| cdef cppclass latch: | |
| latch(ptrdiff_t expected) | |
| void count_down() except+ | |
| void count_down(ptrdiff_t n) except+ | |
| bool try_wait() | |
| void wait() except+ | |
| void arrive_and_wait() except+ | |
| void arrive_and_wait(ptrdiff_t n) except+ | |
| ptrdiff_t max() | |