Commit 99585c9b authored by osku's avatar osku

Remove srv_sys->operational since it is unused.

parent 5f001454
...@@ -546,9 +546,6 @@ struct export_var_struct{ ...@@ -546,9 +546,6 @@ struct export_var_struct{
/* The server system struct */ /* The server system struct */
struct srv_sys_struct{ struct srv_sys_struct{
os_event_t operational; /* created threads must wait for the
server to become operational by
waiting for this event */
srv_table_t* threads; /* server thread table */ srv_table_t* threads; /* server thread table */
UT_LIST_BASE_NODE_T(que_thr_t) UT_LIST_BASE_NODE_T(que_thr_t)
tasks; /* task queue */ tasks; /* task queue */
......
...@@ -887,10 +887,6 @@ srv_init(void) ...@@ -887,10 +887,6 @@ srv_init(void)
srv_meter_foreground[i] = 250; srv_meter_foreground[i] = 250;
} }
srv_sys->operational = os_event_create(NULL);
ut_a(srv_sys->operational);
UT_LIST_INIT(srv_sys->tasks); UT_LIST_INIT(srv_sys->tasks);
/* create dummy table and index for old-style infimum and supremum */ /* create dummy table and index for old-style infimum and supremum */
...@@ -2188,7 +2184,6 @@ srv_master_thread( ...@@ -2188,7 +2184,6 @@ srv_master_thread(
mutex_exit(&kernel_mutex); mutex_exit(&kernel_mutex);
os_event_set(srv_sys->operational);
loop: loop:
/*****************************************************************/ /*****************************************************************/
/* ---- When there is database activity by users, we cycle in this /* ---- When there is database activity by users, we cycle in this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment