-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Now I finished v0.1.0 beta.
This ManagedThreadPool owns 1 idle threads list and 1 busy threads list, these lists are public, so you can fetch any item you want.
What's more, you can also easily set the running threads count to the number you want(default 10) by calling method SetRunningThreads(int threadsCount).
Usage:
- new a inttny.Tools.Threads.Task entity
- registry your entity's event Run by using a System.Action delegate
- call inttny.Tools.Threads.ManagedThreadPool.AppendTask
Metadata
Metadata
Assignees
Labels
No labels