Skip to content

ManagedThreadPool #1

Description

@inttny

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:

  1. new a inttny.Tools.Threads.Task entity
  2. registry your entity's event Run by using a System.Action delegate
  3. call inttny.Tools.Threads.ManagedThreadPool.AppendTask

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions