sdkagent

billiard API reference

48 public APIs from billiard (celery/billiard) — 20 classes, 8 functions, 20 methods. Signatures extracted by static analysis of the actual source.

Repository: celery/billiard

KindCount
Classes20
Functions8
Methods20

API list

funcbilliard._win.kill_processtree(pid, signum)
Kill a process and all its descendants
classbilliard.connection.Listener
Returns a listener object.
classbilliard.connection.PipeConnection
Connection class based on a Windows named pipe.
classbilliard.connection.PipeListener
Representation of a named pipe
methodbilliard.context.BaseContext.Barrier(parties, action=None, timeout=None)
Returns a barrier object
methodbilliard.context.BaseContext.BoundedSemaphore(value=1)
Returns a bounded semaphore object
methodbilliard.context.BaseContext.Condition(lock=None)
Returns a condition object
methodbilliard.context.BaseContext.Event()
Returns an event object
methodbilliard.context.BaseContext.JoinableQueue(maxsize=0)
Returns a queue object
methodbilliard.context.BaseContext.Lock()
Returns a non-recursive lock object
methodbilliard.context.BaseContext.Queue(maxsize=0)
Returns a queue object
methodbilliard.context.BaseContext.RLock()
Returns a recursive lock object
methodbilliard.context.BaseContext.RawArray(typecode_or_type, size_or_initializer)
Returns a shared array
methodbilliard.context.BaseContext.RawValue(typecode_or_type, *args)
Returns a shared object
methodbilliard.context.BaseContext.Semaphore(value=1)
Returns a semaphore object
methodbilliard.context.BaseContext.SimpleQueue()
Returns a queue object
classbilliard.einfo.ExceptionInfo
Exception wrapping an exception and its traceback.
classbilliard.exceptions.RestartFreqExceeded
Restarts too fast.
classbilliard.exceptions.SoftTimeLimitExceeded
The soft time limit has been exceeded.
classbilliard.exceptions.WorkerLostError
The worker processing a job has exited prematurely.
funcbilliard.forkserver.main(listener_fd, alive_r, preload, main_path=None, sys_path=None)
Run forkserver.
classbilliard.managers.BaseManager
Base class for managers
classbilliard.managers.BaseProxy
A base for proxies of shared objects
methodbilliard.managers.Server.handle_request(c)
Handle a new connection
methodbilliard.managers.Server.number_of_objects(c)
Number of shared objects
methodbilliard.managers.Server.serve_forever()
Run the server forever
methodbilliard.managers.Server.shutdown(c)
Shutdown this process
classbilliard.managers.Token
Type to uniquely identify a shared object
methodbilliard.pool.Pool.apply(func, args=(), kwds={})
Equivalent of `func(*args, **kwargs)`.
classbilliard.pool.WorkersJoined
All workers have terminated.
classbilliard.popen_spawn_win32.Popen
Start a subprocess to run the code of a process object
classbilliard.queues.Queue
Queue type using a pipe, buffer and thread
funcbilliard.reduction.DupFd(fd)
Return a wrapper for an fd.
classbilliard.reduction.DupHandle
Picklable wrapper for a handle.
methodbilliard.reduction.DupHandle.detach()
Get the handle.
classbilliard.reduction.ForkingPickler
Pickler subclass used by multiprocessing.
funcbilliard.reduction.dump(obj, file, protocol=None)
Replacement for pickle.dump() using ForkingPickler.
funcbilliard.reduction.duplicate(handle, target_process=None, inheritable=False)
Duplicate a handle.
funcbilliard.reduction.recv_handle(conn)
Receive a handle over a local connection.
classbilliard.resource_sharer.DupFd
Wrapper for fd which can be used at any time.
methodbilliard.resource_sharer.DupFd.detach()
Get the fd.
classbilliard.resource_sharer.DupSocket
Picklable wrapper for a socket.
methodbilliard.resource_sharer.DupSocket.detach()
Get the socket.
funcbilliard.semaphore_tracker.main(fd)
Run semaphore tracker.
classbilliard.synchronize.Condition
Condition variable
classbilliard.synchronize.Lock
Non-recursive lock.
classbilliard.synchronize.RLock
Recursive lock
funcbilliard.util.get_logger()
Returns logger used by multiprocessing

About this data

These signatures were extracted from the public source of celery/billiard using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries