Commit c01bcf47 authored by unknown's avatar unknown

os0thread.c, os0thread.h, os0sync.h:

  Cleanup
os0sync.c:
  Free all OS sync primitives and allocated memory in InnoDB shutdown


innobase/os/os0sync.c:
  Free all OS sync primitives and allocated memory in InnoDB shutdown
innobase/include/os0sync.h:
  Cleanup
innobase/include/os0thread.h:
  Cleanup
innobase/os/os0thread.c:
  Cleanup
parent 3cba21f9
...@@ -57,8 +57,7 @@ void ...@@ -57,8 +57,7 @@ void
os_sync_init(void); os_sync_init(void);
/*==============*/ /*==============*/
/************************************************************* /*************************************************************
Frees created events (not in Windows) and OS 'slow' mutexes. OS 'fast' Frees created events (not in Windows) and OS 'slow' mutexes. */
mutexes must be freed with sync_free() before this. */
void void
os_sync_free(void); os_sync_free(void);
......
...@@ -11,7 +11,6 @@ Created 9/8/1995 Heikki Tuuri ...@@ -11,7 +11,6 @@ Created 9/8/1995 Heikki Tuuri
#define os0thread_h #define os0thread_h
#include "univ.i" #include "univ.i"
#include "os0sync.h"
/* Maximum number of threads which can be created in the program; /* Maximum number of threads which can be created in the program;
this is also the size of the wait slot array for MySQL threads which this is also the size of the wait slot array for MySQL threads which
......
...@@ -68,8 +68,7 @@ os_sync_init(void) ...@@ -68,8 +68,7 @@ os_sync_init(void)
} }
/************************************************************* /*************************************************************
Frees created events (not in Windows) and OS 'slow' mutexes. OS 'fast' Frees created events (not in Windows) and OS 'slow' mutexes. */
mutexes must be freed with sync_free() before this. */
void void
os_sync_free(void) os_sync_free(void)
......
...@@ -16,6 +16,7 @@ Created 9/8/1995 Heikki Tuuri ...@@ -16,6 +16,7 @@ Created 9/8/1995 Heikki Tuuri
#endif #endif
#include "srv0srv.h" #include "srv0srv.h"
#include "os0sync.h"
/******************************************************************* /*******************************************************************
Compares two thread ids for equality. */ Compares two thread ids for equality. */
......
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