workPool: handle thread init failures
This commit is contained in:
parent
1a520dbf3e
commit
157f3be253
2 changed files with 20 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ struct DivWorkThread {
|
|||
bool busy();
|
||||
void finish();
|
||||
|
||||
void init(DivWorkPool* p);
|
||||
bool init(DivWorkPool* p);
|
||||
DivWorkThread():
|
||||
parent(NULL),
|
||||
isBusy(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue