Skip to content

Can loop through the thread pool, support pass function, pass, transfer call function, immediately terminate all threads, support thread recycling, save time and resources/可循环线程池,支持传函数、传参、传回调函数、立即终止所有线程,支持线程的循环利用,节省时间和资源

Notifications You must be signed in to change notification settings

xinyiZzz/Threadpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

June 2 2016 9:14 AM

Threadpool


function/系统功能

Can loop through the thread pool, support pass function, pass, transfer call function, immediately terminate all threads, support thread recycling, save time and resources 可循环线程池,支持传函数、传参、传回调函数、立即终止所有线程,支持线程的循环利用,节省时间和资源

examples/使用范例

pool = ThreadPoolSpark(pool_num)
for task in task_list:
    pool.run(func=func(), args=(self, task))
pool.wait()

contact/联系方式

609610350@qq.com

About

Can loop through the thread pool, support pass function, pass, transfer call function, immediately terminate all threads, support thread recycling, save time and resources/可循环线程池,支持传函数、传参、传回调函数、立即终止所有线程,支持线程的循环利用,节省时间和资源

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages