13
0

Error handling for 3751d20ce

This commit is contained in:
Robin Gareus 2024-09-27 17:20:42 +02:00
parent 3751d20ce9
commit 71a3161252
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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*/
} }
} }