osquery-1/include/osquery/scheduler.h
2014-09-16 00:28:23 -07:00

22 lines
539 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();
}