ThreadPool.submit

Create a task from function pointer

  1. Task submit(void delegate() taskDele)
  2. Task submit(void function() taskFunc)
    class ThreadPool
    submit
    (
    void function
    ()
    taskFunc
    )

Meta