272
edits
m (→nsIThreadPool) |
m (→nsIThreadPool) |
||
| Line 142: | Line 142: | ||
{ | { | ||
/** | /** | ||
* Shutdown the thread pool. This method may not be executed from any | * Shutdown the thread pool. This method may not be executed from any | ||
* in the thread pool. Instead, it is meant to be executed from | * thread in the thread pool. Instead, it is meant to be executed from | ||
* thread (usually the thread that created this thread pool). | * another thread (usually the thread that created this thread pool). | ||
* function returns, the thread pool and all of its threads will be shutdown, | * When this function returns, the thread pool and all of its threads will | ||
* be shutdown, and it will no longer be possible to dispatch tasks to the | |||
* thread pool. | |||
*/ | */ | ||
void shutdown() | void shutdown() | ||
edits