multiprocessing.BoundedSemaphore

class multiprocessing.BoundedSemaphore([value]) A bounded semaphore object: a close analog of threading.BoundedSemaphore. A solitary difference from its close analog exists: its acquire method’s first argument is named block, as is consistent with Lock.acquire(). Note On Mac OS X, this is indistinguishable from Semaphore because sem_getvalue() is not implemented on that platform.

multiprocessing.Barrier

class multiprocessing.Barrier(parties[, action[, timeout]]) A barrier object: a clone of threading.Barrier. New in version 3.3.

multiprocessing.AuthenticationError

exception multiprocessing.AuthenticationError Raised when there is an authentication error.

multiprocessing.Array()

multiprocessing.Array(typecode_or_type, size_or_initializer, *, lock=True) Return a ctypes array allocated from shared memory. By default the return value is actually a synchronized wrapper for the array. typecode_or_type determines the type of the elements of the returned array: it is either a ctypes type or a one character typecode of the kind used by the array module. If size_or_initializer is an integer, then it determines the length of the array, and the array will be initially zeroed.

multiprocessing.active_children()

multiprocessing.active_children() Return list of all live children of the current process. Calling this has the side effect of “joining” any processes which have already finished.

msvcrt.ungetwch()

msvcrt.ungetwch(unicode_char) Wide char variant of ungetch(), accepting a Unicode value.

msvcrt.ungetch()

msvcrt.ungetch(char) Cause the byte string char to be “pushed back” into the console buffer; it will be the next character read by getch() or getche().

msvcrt.setmode()

msvcrt.setmode(fd, flags) Set the line-end translation mode for the file descriptor fd. To set it to text mode, flags should be os.O_TEXT; for binary, it should be os.O_BINARY.

msvcrt.putwch()

msvcrt.putwch(unicode_char) Wide char variant of putch(), accepting a Unicode value.

msvcrt.putch()

msvcrt.putch(char) Print the byte string char to the console without buffering.