Skip to content

A simple python threadpool implementation for 2.4+ that can handle KeyboardInterrupt

License

Notifications You must be signed in to change notification settings

alanwevans/threadpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

threadpool

A simple python threadpool implementation for 2.4+ that can handle KeyboardInterrupt

example

import threadpool

pool = threadpool.ThreadPool(5)
for i in range(10):
	pool.add_task(do_something, [i])

pool.start()
pool.join()

A more complete example can be found in the module itself, you can use it by running python threadpool.py

About

A simple python threadpool implementation for 2.4+ that can handle KeyboardInterrupt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages