Commit c72cc5a2 authored by Xavier Thompson's avatar Xavier Thompson

Improve pthreads and semaphore cimports

parent 3e40a14d
...@@ -6,8 +6,8 @@ from libcpp.atomic cimport atomic ...@@ -6,8 +6,8 @@ from libcpp.atomic cimport atomic
from libc.stdio cimport printf from libc.stdio cimport printf
from libc.stdlib cimport rand from libc.stdlib cimport rand
from posix.unistd cimport sysconf from posix.unistd cimport sysconf
from runtime.pthreads cimport * from ._pthreads cimport *
from runtime.semaphore cimport * from ._semaphore cimport *
cdef extern from "<unistd.h>" nogil: cdef extern from "<unistd.h>" nogil:
enum: _SC_NPROCESSORS_ONLN # Seems to not be included in "posix.unistd". enum: _SC_NPROCESSORS_ONLN # Seems to not be included in "posix.unistd".
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment