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
075c4420
Commit
075c4420
authored
Aug 25, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes in comments
parent
8df4f6a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gevent/queue.py
gevent/queue.py
+2
-2
No files found.
gevent/queue.py
View file @
075c4420
...
...
@@ -30,7 +30,7 @@ class Queue(object):
self
.
_event_unlock
=
None
self
.
_init
(
maxsize
)
# QQQ make maxsize
a property whose setter
schedules unlock if necessary
# QQQ make maxsize
into a property with setter that
schedules unlock if necessary
def
_init
(
self
,
maxsize
):
self
.
queue
=
collections
.
deque
()
...
...
@@ -216,7 +216,7 @@ class Queue(object):
def
_schedule_unlock
(
self
):
if
self
.
_event_unlock
is
None
:
self
.
_event_unlock
=
core
.
active_event
(
self
.
_unlock
)
# QQQ re-activ
e event
instead of creating a new one each time
# QQQ re-activ
ate event (with event_active libevent call)
instead of creating a new one each time
class
ItemWaiter
(
Waiter
):
...
...
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