Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
concurrent.futures._base._FirstCompletedWaiter Class Reference
Inheritance diagram for concurrent.futures._base._FirstCompletedWaiter:
Inheritance graph
[legend]
Collaboration diagram for concurrent.futures._base._FirstCompletedWaiter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def add_result
def add_exception
def add_cancelled

Public Attributes

 event
 finished_futures
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Used by wait(return_when=FIRST_COMPLETED).

Definition at line 94 of file _base.py.


Member Function Documentation

Reimplemented from concurrent.futures._base._Waiter.

Definition at line 105 of file _base.py.

00105 
00106     def add_cancelled(self, future):
00107         super().add_cancelled(future)
00108         self.event.set()

Reimplemented from concurrent.futures._base._Waiter.

Definition at line 101 of file _base.py.

00101 
00102     def add_exception(self, future):
00103         super().add_exception(future)
00104         self.event.set()

Reimplemented from concurrent.futures._base._Waiter.

Definition at line 97 of file _base.py.

00097 
00098     def add_result(self, future):
00099         super().add_result(future)
00100         self.event.set()


Member Data Documentation

Definition at line 60 of file _base.py.

Definition at line 61 of file _base.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


The documentation for this class was generated from the following file: