Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block DomHudson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DomHudson /
Last active Aug 15, 2018
Multiprocessing in Python with Custom Workers
import random
import multiprocessing
context = multiprocessing.get_context()
class Worker(context.Process):
def __init__(self, *args, **kwargs):
You can’t perform that action at this time.