mirror of https://github.com/OISF/suricata
threads: don't attempt to join threads with an id of 0
Worker threads not created by Suricata, but instead a library user should not be joined, as Suricata does not have access to their thread handle, and it may in-fact be an unjoinable thread, such as the main process. When the thread ID is 0, assume the thread is "externally" managed, but still mark is as dead to satisfy Suricata's view of the thread. Ticket: #7240pull/12891/head
parent
4df33c496e
commit
421e0a2bf9
Loading…
Reference in New Issue