# | Line 376 | Line 376 | public class ThreadPoolExecutor extends | |
---|---|---|
376 | handler.rejectedExecution(command, this); | |
377 | } | |
378 | ||
379 | – | |
380 | – | |
379 | /** | |
380 | * Create and return a new thread running firstTask as its first | |
381 | * task. Call only while holding mainLock | |
# | Line 396 | Line 394 | public class ThreadPoolExecutor extends | |
394 | return t; | |
395 | } | |
396 | ||
399 | – | |
400 | – | |
397 | /** | |
398 | * Create and start a new thread running firstTask as its first | |
399 | * task, only if less than corePoolSize threads are running. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |