osquery-1/osquery/include/osquery
Teddy Reed d393d12f5c
Refactor and simplify shutdown logic (#6144)
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.
2020-02-10 20:26:45 -05:00
..
core.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
data_logger.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
database.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
dispatcher.h bug: Fix race in Dispatcher adding and stopping (#6145) 2019-12-22 22:21:01 -05:00
distributed.h Fix all TLS tests and framework (#6170) 2020-02-03 07:50:25 -08:00
enroll.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
events.h bug: Use RecursiveMutex and additional read locking on getEventSubscriber (#5841) 2019-10-02 01:02:24 -04:00
extensions.h Replace Status(0) calls with Status::success() to appease Lint (#5487) 2019-03-01 04:29:33 -08:00
flagalias.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
flags.h Refactor third-party libraries to build from source on Linux (#5706) 2019-08-30 16:25:19 +02:00
numeric_monitoring.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
packs.h Help packs class be immutable 2019-03-28 06:59:50 -07:00
query.h Remove dead code for deserializeQueryLogItem functions (#5543) 2019-03-28 14:19:16 -07:00
registry_factory.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
registry_interface.h RegistryInterface: add locks to more methods (#5906) 2019-10-26 12:34:03 -04:00
registry.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
sql.h remove the value_max flag (#5926) 2019-10-25 19:30:43 -04:00
system.h Refactor and simplify shutdown logic (#6144) 2020-02-10 20:26:45 -05:00
tables.h docs: Remove references to old osquery kernel extension (#6051) 2019-11-19 00:23:47 -05:00