mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
d393d12f5c
The windows documentation mentions that ExitThread should not be used in C++ code. When debugging these exit flows I saw exceptions when running dtors. When reviewing the shutdown code for Windows and POSIX there was a lot of complexity. This change allows any part of code to request a shutdown and simplifies the response. We should expect the main thread to call ::waitForShutdown. The exception is the shell, which waits in a repl. |
||
---|---|---|
.. | ||
core.h | ||
data_logger.h | ||
database.h | ||
dispatcher.h | ||
distributed.h | ||
enroll.h | ||
events.h | ||
extensions.h | ||
flagalias.h | ||
flags.h | ||
numeric_monitoring.h | ||
packs.h | ||
query.h | ||
registry_factory.h | ||
registry_interface.h | ||
registry.h | ||
sql.h | ||
system.h | ||
tables.h |