Skip to content

Instantly share code, notes, and snippets.

View mohit1337's full-sized avatar

mohit1337

  • Pune, India
View GitHub Profile
@fahadysf
fahadysf / taskdaemon-py3.py
Last active February 26, 2017 20:13
A multiprocess task broker which acts as: an example of Multiprocess asynchronous tasks which update a shared dictionary provided by multiprocess.Manager.
#!/usr/bin/python
from multiprocessing import Pool, Manager
from http.server import BaseHTTPRequestHandler, HTTPServer
import json
import cgi
import random, time
# Resources to read
#