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
2b61e02e
Commit
2b61e02e
authored
Aug 25, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting changes
parent
bb287971
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
CHANGES
CHANGES
+10
-11
No files found.
CHANGES
View file @
2b61e02e
...
...
@@ -3,15 +3,14 @@
Timeout API was changed in backward incompatible way:
Timeout.__init__ does not start the timer immediately anymore; start() must be
called explicitly. A shourtcut
, Timeout.start_new is provided,
that creates
called explicitly. A shourtcut
- Timeout.start_new - is provided
that creates
and starts a Timeout.
Added gevent.Greenlet class which is a subclass of greenlet that adds a few
useful methods join/get/kill/link. See the docstrings for details.
gevent.spawn now returns Greenlet instance.
The old gevent.spawn, which returns py.magic.greenlet instance, can be still
accessed as gevent.spawn_raw.
gevent.spawn now returns Greenlet instance. The old gevent.spawn, which returns
py.magic.greenlet instance, can be still accessed as gevent.spawn_raw.
The implementation of Greenlet is an improvement on proc module, with these bugs
fixed:
...
...
@@ -23,14 +22,14 @@ fixed:
- Proc cannot be easily subclassed. To subclass Greenlet, override its _run
and __init__ methods.
Added gevent.pool.Pool class which supports a number of m
ethods multiprocessing.Pool
supports. In addition it also has spawn() method which is always async and
returns a Greenlet instance.
Added gevent.pool.Pool class which supports a number of m
ultiprocessing.Pool's
methods: apply, map and others. It also has spawn() method which is always
async and
returns a Greenlet instance.
Added gevent.event
.Event and gevent.event.AsyncResult:
Event is a drop-in replacement for threading.Event, supporting set/wait/get
methods.
AsyncResult is an extension of Event that supports exception passing via
set_exception method.
Added gevent.event
module with 2 classes: Event and AsyncResult.
Event is a drop-in replacement for threading.Event, supporting set/wait/get
methods. AsyncResult is an extension of Event that supports exception passing
via
set_exception method.
Added queue.JoinableQueue class with task_done() and join() methods.
...
...
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