MXS-2008 Move maxscale/semaphore.h to maxbase/semaphore.h
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <maxscale/ccdefs.hh>
|
#include <maxscale/ccdefs.hh>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <maxscale/semaphore.h>
|
#include <maxbase/semaphore.h>
|
||||||
#include <maxscale/debug.h>
|
#include <maxscale/debug.h>
|
||||||
|
|
||||||
namespace maxscale
|
namespace maxscale
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// As a minimal preparation for other environments than Linux, components
|
// As a minimal preparation for other environments than Linux, components
|
||||||
// include <maxscale/semaphore.h>, instead of including <semaphore.h>
|
// include <maxbase/semaphore.h>, instead of including <semaphore.h>
|
||||||
// directly.
|
// directly.
|
||||||
#include <maxscale/cdefs.h>
|
#include <maxbase/cdefs.h>
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
@ -18,6 +18,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
#include <maxbase/semaphore.h>
|
||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
#include <maxscale/atomic.h>
|
#include <maxscale/atomic.h>
|
||||||
#include <maxscale/clock.h>
|
#include <maxscale/clock.h>
|
||||||
@ -25,7 +26,6 @@
|
|||||||
#include <maxscale/housekeeper.h>
|
#include <maxscale/housekeeper.h>
|
||||||
#include <maxscale/json_api.h>
|
#include <maxscale/json_api.h>
|
||||||
#include <maxscale/query_classifier.h>
|
#include <maxscale/query_classifier.h>
|
||||||
#include <maxscale/semaphore.h>
|
|
||||||
#include <maxscale/spinlock.h>
|
#include <maxscale/spinlock.h>
|
||||||
#include <maxscale/spinlock.hh>
|
#include <maxscale/spinlock.hh>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user