Error handling for 3751d20ce
This commit is contained in:
parent
3751d20ce9
commit
71a3161252
@ -127,6 +127,8 @@ ExportHandler::ExportHandler (Session & session)
|
|||||||
_timespan_thread_active.store (1);
|
_timespan_thread_active.store (1);
|
||||||
if (pthread_create (&_timespan_thread, NULL, _timespan_thread_run, this)) {
|
if (pthread_create (&_timespan_thread, NULL, _timespan_thread_run, this)) {
|
||||||
_timespan_thread_active.store (0);
|
_timespan_thread_active.store (0);
|
||||||
|
fatal << "Cannot create export handler helper thread" << endmsg;
|
||||||
|
abort(); /* NOTREACHED*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user