Parameters
- t
- The target. The 'run()' method of this object will be run in an idle thread of the pool.
- l
- The lock object. A thread waiting on the lock of the 'l' object will be notified, through the 'notify()' call, when the target's run method completes. If null no thread is notified.
- async
- If true the asynchronous mode will be used.
- notifyAll
- If true, threads waiting on the lock of the 'l' object will be notified trough the 'notifyAll()' instead of the normal 'notify()' call. This is not normally needed.
Return Value
True if the target was submitted to some thread. False if no idle thread could be found and the target was not submitted for execution.