8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Correction (Pointed by Claudio)

This commit is contained in:
brodsom 2004-05-17 01:52:11 +00:00
parent 19f2ac460e
commit 406e767bb0

View File

@ -26,7 +26,7 @@
*
*/
/*
$Id: thd.h,v 1.23 2004-05-15 00:55:09 brodsom Exp $
$Id: thd.h,v 1.24 2004-05-17 01:52:11 brodsom Exp $
*/
#ifndef JRD_THD_H
@ -222,9 +222,9 @@ inline void THREAD_ENTER(){
inline void THREAD_EXIT(){
SCH_exit();
}
inline bool THREAD_VALIDATE(){
return SCH_validate();
}
//inline bool THREAD_VALIDATE(){
// return SCH_validate();
//}
#define SWEEP_THREAD
//#define GARBAGE_THREAD
#else // SUPERSERVER
@ -234,9 +234,9 @@ inline void THREAD_ENTER(){
inline void THREAD_EXIT(){
gds__thread_exit();
}
inline bool THREAD_VALIDATE(){
return false;
}
//inline bool THREAD_VALIDATE(){
// return true;
//}
#define AST_THREAD
#endif // SUPERSERVER
inline void THREAD_SLEEP(ULONG msecs){
@ -250,9 +250,9 @@ inline void THREAD_ENTER(){
}
inline void THREAD_EXIT(){
}
inline bool THREAD_VALIDATE(){
return false;
}
//inline bool THREAD_VALIDATE(){
// return true;
//}
inline void THREAD_SLEEP(ULONG msecs){
THD_sleep(msecs);
}