osquery-1/include/osquery/scheduler.h
2014-09-15 13:11:39 -07:00

21 lines
544 B
C++

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
namespace osquery {
/** @brief Launch the scheduler.
*
* osquery comes with a scheduler, which schedules a variety of things. This
* is one of the core parts of the osqueryd daemon. To use this, simply use
* this function as your entry point when creating a new thread.
*
* @code{.cpp}
* boost::thread scheduler_thread(osquery::initializeScheduler);
* // do some other stuff
* scheduler_thread.join();
* @endcode
*/
void initializeScheduler();
}