Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
runtime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cython-plus
runtime
Commits
c72cc5a2
Commit
c72cc5a2
authored
2 years ago
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve pthreads and semaphore cimports
parent
3e40a14d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
_pthreads.pxd
_pthreads.pxd
+0
-0
_semaphore.pxd
_semaphore.pxd
+0
-0
runtime.pxd
runtime.pxd
+2
-2
No files found.
pthreads.pxd
→
_
pthreads.pxd
View file @
c72cc5a2
File moved
This diff is collapsed.
Click to expand it.
semaphore.pxd
→
_
semaphore.pxd
View file @
c72cc5a2
File moved
This diff is collapsed.
Click to expand it.
runtime.pxd
View file @
c72cc5a2
...
...
@@ -6,8 +6,8 @@ from libcpp.atomic cimport atomic
from
libc.stdio
cimport
printf
from
libc.stdlib
cimport
rand
from
posix.unistd
cimport
sysconf
from
runtime.
pthreads
cimport
*
from
runtime.
semaphore
cimport
*
from
._
pthreads
cimport
*
from
._
semaphore
cimport
*
cdef
extern
from
"<unistd.h>"
nogil
:
enum
:
_SC_NPROCESSORS_ONLN
# Seems to not be included in "posix.unistd".
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment