Skip to content

Instantly share code, notes, and snippets.

DomHudson

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
DomHudson / custom_worker_processes.py
Last active Aug 15, 2018
Multiprocessing in Python with Custom Workers
View custom_worker_processes.py
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.