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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
bc470e85
Commit
bc470e85
authored
7 years ago
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pedantic compiler error.
parent
1b3c3171
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Utility/ModuleSetupCode.c
Cython/Utility/ModuleSetupCode.c
+2
-1
No files found.
Cython/Utility/ModuleSetupCode.c
View file @
bc470e85
...
...
@@ -956,8 +956,9 @@ void __Pyx_FastGil_PyGILState_Release(PyGILState_STATE oldstate) {
static
void
__Pyx_FastGilFuncInit0
(
void
)
{
/* Try to detect autoTLSkey. */
int
key
;
void
*
this_thread_state
=
(
void
*
)
PyGILState_GetThisThreadState
();
for
(
int
key
=
0
;
key
<
100
;
key
++
)
{
for
(
key
=
0
;
key
<
100
;
key
++
)
{
if
(
PyThread_get_key_value
(
key
)
==
this_thread_state
)
{
__Pyx_FastGil_autoTLSkey
=
key
;
break
;
...
...
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