# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT class Connection(object): """ Connection type whose constructor signature is Connection(handle, readable=True, writable=True). The constructor does *not* duplicate the handle. """ def close(self): """ close the connection """ pass closed = property(None, None, None, """ True if the connection is closed """ ) def fileno(self): """ file descriptor or handle of the connection """ pass def poll(self): """ whether there is any input available to be read """ pass readable = property(None, None, None, """ True if the connection is readable """ ) def recv(self, picklable): """ receive a (picklable) object """ pass def recv_bytes(self): """ receive byte data as a string """ pass def recv_bytes_into(self): """ receive byte data into a writeable buffer-like object returns the number of bytes read """ pass def send(self, picklable): """ send a (picklable) object """ pass def send_bytes(self): """ send the byte data from a readable buffer-like object """ pass writable = property(None, None, None, """ True if the connection is writable """ ) class SemLock(object): """ Semaphore/Mutex type """ SEM_VALUE_MAX = None def _after_fork(self): """ rezero the net acquisition count after fork() """ pass def _count(self): """ num of `acquire()`s minus num of `release()`s for this process """ pass def _get_value(self): """ get the value of the semaphore """ pass def _is_mine(self): """ whether the lock is owned by this thread """ pass def _is_zero(self): """ returns whether semaphore has value zero """ pass def _rebuild(self): """ """ pass def acquire(self): """ acquire the semaphore/lock """ pass handle = None kind = None maxvalue = None def release(self): """ release the semaphore/lock """ pass __doc__ = None __file__ = '/Users/Shared/src/ide/build-files/build-temp/runtimes-release/__os__/osx/runtime-python2.7/lib/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_multiprocessing.so' __name__ = '_multiprocessing' __package__ = None def address_of_buffer(obj): """ address_of_buffer(obj) -> int Return address of obj assuming obj supports buffer inteface """ return 1 flags = {} def recvfd(sockfd): """ recvfd(sockfd) -> fd Receive a file descriptor over a unix domain socket whose file decriptor is sockfd """ return None def sendfd(sockfd, fd): """ sendfd(sockfd, fd) -> None Send file descriptor given by fd over the unix domain socket whose file decriptor is sockfd """ return None