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
d24eeec8
Commit
d24eeec8
authored
Mar 25, 2019
by
gsamain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amend legacy test
parent
a3f3c84c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nogil_test/nogil_extension.pyx
nogil_test/nogil_extension.pyx
+4
-4
No files found.
nogil_test/nogil_extension.pyx
View file @
d24eeec8
...
...
@@ -49,21 +49,21 @@ cdef cypclass SomeMemory:
int
a
;
double
b
;
void
__init__
(
int
a
,
double
b
):
void
__init__
(
self
,
int
a
,
double
b
):
this
.
a
=
a
this
.
b
=
b
void
__dealloc__
():
void
__dealloc__
(
self
):
pass
void
foo1
():
void
foo1
(
self
):
"""
It is possible to define native C/Cython methods
that release the GIL (cool...)
"""
this
.
a
+=
3
void
foo2
():
void
foo2
(
self
):
"""
It is possible to define native C/Cython methods
that release the GIL (cool...)
...
...
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