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
51b7a422
Commit
51b7a422
authored
Apr 09, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coros.py: rename _Semaphore to PySemaphore
parent
c560dae0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gevent/coros.py
gevent/coros.py
+2
-2
No files found.
gevent/coros.py
View file @
51b7a422
...
...
@@ -9,7 +9,7 @@ from gevent.timeout import Timeout
__all__
=
[
'Semaphore'
,
'DummySemaphore'
,
'BoundedSemaphore'
,
'RLock'
]
class
_
Semaphore
(
object
):
class
Py
Semaphore
(
object
):
"""A semaphore manages a counter representing the number of release() calls minus the number of acquire() calls,
plus an initial value. The acquire() method blocks if necessary until it can return without making the counter
negative.
...
...
@@ -132,7 +132,7 @@ class _Semaphore(object):
try
:
from
gevent._semaphore
import
Semaphore
except
ImportError
:
Semaphore
=
_
Semaphore
Semaphore
=
Py
Semaphore
class
DummySemaphore
(
object
):
...
...
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