Useful module for comfortable managing with threading.
Project description
pythread - Useful module for comfortable managing with threading.
-How to use-
import pythread as ptr
ptr.createThread('NameOfThread', func, 5) #NameOfThread - name of thread, func - function, 5 - delay of run function
ptr.stopThread('NameOfThread') #stop thread
t = ptr.getThreadByName('NameOfThread') #select thread by name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pythread-1.1.0.tar.gz
(2.3 kB
view hashes)