Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
2fcd2301
Commit
2fcd2301
authored
Jul 17, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare an exceptional return value so that exceptions propagate.
parent
a1f646b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gevent/_semaphore.pxd
gevent/_semaphore.pxd
+4
-4
No files found.
gevent/_semaphore.pxd
View file @
2fcd2301
...
...
@@ -5,15 +5,15 @@ cdef class Semaphore:
cdef
public
int
_dirty
cpdef
bint
locked
(
self
)
cpdef
int
release
(
self
)
cpdef
int
release
(
self
)
except
-
1000
cpdef
rawlink
(
self
,
object
callback
)
cpdef
unlink
(
self
,
object
callback
)
cpdef
int
wait
(
self
,
object
timeout
=*
)
cpdef
bint
acquire
(
self
,
int
blocking
=*
,
object
timeout
=*
)
cpdef
int
wait
(
self
,
object
timeout
=*
)
except
-
1000
cpdef
bint
acquire
(
self
,
int
blocking
=*
,
object
timeout
=*
)
except
-
1000
cpdef
__enter__
(
self
)
cpdef
__exit__
(
self
,
object
t
,
object
v
,
object
tb
)
cdef
class
BoundedSemaphore
(
Semaphore
):
cdef
readonly
int
_initial_value
cpdef
int
release
(
self
)
cpdef
int
release
(
self
)
except
-
1000
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