Skip to main content
Description
===========
Util for launch any function in several threads.
Using:
import Queue
a = Queue.Queue()

@multithreaddecorator.MultiThreadDecorator(20)
def f(b):
import time
time.sleep(1)
b.put('one launch')
for i in range(1000):
f(a)

while not f.is_over(): pass

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multithreaddecorator-0.0.2.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file multithreaddecorator-0.0.2.tar.gz.

File metadata

File hashes

Hashes for multithreaddecorator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e04b4ef09fc1e5b76f8ffa036f4548f74c3ce946a9ad0b0656d61ef491b934e1
MD5 6d8307dbd6194ea72e21770e3c0c16f1
BLAKE2b-256 556825bbcb95f8b5e286ee2babc50b82d6e773695fc3d73623728cae0ab5d7c0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page