这是一个简单的带运行权重的线程池。 pushonetask函数第一个参数为优先级,越低就优先级越高,第二个参数为准备执行的可调用对象,其后为该函数的参数。
-
Notifications
You must be signed in to change notification settings - Fork 0
dfyning/threadpool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published