workPool: handle thread init failures

This commit is contained in:
tildearrow 2023-09-07 01:16:12 -05:00
parent 1a520dbf3e
commit 157f3be253
2 changed files with 20 additions and 4 deletions

View file

@ -57,7 +57,7 @@ struct DivWorkThread {
bool busy();
void finish();
void init(DivWorkPool* p);
bool init(DivWorkPool* p);
DivWorkThread():
parent(NULL),
isBusy(false),