Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
multiprocessing.managers.AcquirerProxy Class Reference
Inheritance diagram for multiprocessing.managers.AcquirerProxy:
Inheritance graph
[legend]
Collaboration diagram for multiprocessing.managers.AcquirerProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def acquire
def release
def __enter__
def __exit__
def __reduce__
def __deepcopy__
def __repr__
def __str__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Private Attributes

tuple _exposed_ = ('acquire', 'release')

Detailed Description

Definition at line 983 of file managers.py.


Member Function Documentation

def multiprocessing.managers.BaseProxy.__deepcopy__ (   self,
  memo 
) [inherited]

Definition at line 846 of file managers.py.

00846 
00847     def __deepcopy__(self, memo):
00848         return self._getvalue()

Here is the call graph for this function:

Definition at line 989 of file managers.py.

00989 
00990     def __enter__(self):
        return self._callmethod('acquire')

Here is the call graph for this function:

def multiprocessing.managers.AcquirerProxy.__exit__ (   self,
  exc_type,
  exc_val,
  exc_tb 
)

Definition at line 991 of file managers.py.

00991 
00992     def __exit__(self, exc_type, exc_val, exc_tb):
00993         return self._callmethod('release')
00994 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 833 of file managers.py.

00833 
00834     def __reduce__(self):
00835         kwds = {}
00836         if Popen.thread_is_spawning():
00837             kwds['authkey'] = self._authkey
00838 
00839         if getattr(self, '_isauto', False):
00840             kwds['exposed'] = self._exposed_
00841             return (RebuildProxy,
00842                     (AutoProxy, self._token, self._serializer, kwds))
00843         else:
00844             return (RebuildProxy,
00845                     (type(self), self._token, self._serializer, kwds))

Here is the call graph for this function:

def multiprocessing.managers.BaseProxy.__repr__ (   self) [inherited]

Definition at line 849 of file managers.py.

00849 
00850     def __repr__(self):
00851         return '<%s object, typeid %r at %s>' % \
00852                (type(self).__name__, self._token.typeid, '0x%x' % id(self))

def multiprocessing.managers.BaseProxy.__str__ (   self) [inherited]
Return representation of the referent (or a fall-back if that fails)

Definition at line 853 of file managers.py.

00853 
00854     def __str__(self):
00855         '''
00856         Return representation of the referent (or a fall-back if that fails)
00857         '''
00858         try:
00859             return self._callmethod('__repr__')
00860         except Exception:
00861             return repr(self)[:-1] + "; '__str__()' failed>"
00862 
00863 #
00864 # Function used for unpickling
00865 #

Here is the call graph for this function:

def multiprocessing.managers.AcquirerProxy.acquire (   self,
  blocking = True 
)

Definition at line 985 of file managers.py.

00985 
00986     def acquire(self, blocking=True):
        return self._callmethod('acquire', (blocking,))

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 987 of file managers.py.

00987 
00988     def release(self):
        return self._callmethod('release')

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Reimplemented in multiprocessing.managers.ConditionProxy.

Definition at line 984 of file managers.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: