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

Linux-related Services API fixes. All Services API work on Linux CS now.

This commit is contained in:
skidder 2003-12-14 22:29:47 +00:00
parent 262edb3000
commit db6eff1976
3 changed files with 8 additions and 2 deletions

View File

@ -41,6 +41,9 @@
#include "../journal/rebui_proto.h"
#include "../journal/serve_proto.h"
#include "../jrd/gds_proto.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
bool sw_service_gjrn;
FILE* msg_file;

View File

@ -549,21 +549,25 @@ void SCH_init(void)
**************************************/
if (init_flag)
return;
#ifdef MULTI_THREAD
scheduler_init_lock.enter();
try {
if (!init_flag) {
#endif
gds__register_cleanup(cleanup, 0);
int mutex_state;
if (mutex_state = THD_mutex_init(thread_mutex))
mutex_bugcheck("mutex init", mutex_state);
#ifdef MULTI_THREAD
}
} catch (const std::exception&) {
scheduler_init_lock.leave();
throw;
}
scheduler_init_lock.leave();
#endif
init_flag = TRUE;
}

View File

@ -165,7 +165,6 @@ int common_main(int argc,
* the specified argc/argv to SECURITY_exec_line (see below).
*
**************************************/
DebugBreak();
ISC_STATUS *status;
FRBRD *db_handle = NULL; /* user info database handle */
int local_argc;