Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
07d3144e
Commit
07d3144e
authored
Jul 11, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing standard cimport for pythread.h
parent
4806fbd8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
Cython/Includes/cpython/pythread.pxd
Cython/Includes/cpython/pythread.pxd
+34
-0
No files found.
Cython/Includes/cpython/pythread.pxd
0 → 100644
View file @
07d3144e
cdef
extern
from
"pythread.h"
:
ctypedef
void
*
PyThread_type_lock
ctypedef
void
*
PyThread_type_sema
void
PyThread_init_thread
()
long
PyThread_start_new_thread
(
void
(
*
)(
void
*
),
void
*
)
void
PyThread_exit_thread
()
long
PyThread_get_thread_ident
()
PyThread_type_lock
PyThread_allocate_lock
()
void
PyThread_free_lock
(
PyThread_type_lock
)
int
PyThread_acquire_lock
(
PyThread_type_lock
,
int
mode
)
enum
:
WAIT_LOCK
# 1
NOWAIT_LOCK
# 0
void
PyThread_release_lock
(
PyThread_type_lock
)
size_t
PyThread_get_stacksize
()
int
PyThread_set_stacksize
(
size_t
)
# Thread Local Storage (TLS) API
int
PyThread_create_key
()
void
PyThread_delete_key
(
int
)
int
PyThread_set_key_value
(
int
,
void
*
)
void
*
PyThread_get_key_value
(
int
)
void
PyThread_delete_key_value
(
int
key
)
# Cleanup after a fork
void
PyThread_ReInitTLS
()
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