summaryrefslogtreecommitdiff
path: root/innobase/srv
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-05-30 23:00:37 +0300
committerunknown <heikki@hundin.mysql.fi>2003-05-30 23:00:37 +0300
commit5d1171c024089093d6274dd9d18b480c93516109 (patch)
treeb65fcbab4ef0d8dcfc4e0ab562431ebaccdb586e /innobase/srv
parentd9711e32b966610af3969c76f7e96f18478dffca (diff)
downloadmariadb-git-5d1171c024089093d6274dd9d18b480c93516109.tar.gz
srv0start.c:
Cleanup innobase/srv/srv0start.c: Cleanup
Diffstat (limited to 'innobase/srv')
-rw-r--r--innobase/srv/srv0start.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c
index 3d98e116905..d34c18b1a25 100644
--- a/innobase/srv/srv0start.c
+++ b/innobase/srv/srv0start.c
@@ -1549,13 +1549,6 @@ innobase_shutdown_for_mysql(void)
}
#if defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
- /*
- TODO: Fix this temporary solution
- We are having a race condition occure with io_handler_thread threads.
- When they yield in os_aio_simulated_handle during shutdown, this
- thread was able to free the memory early.
- */
- os_thread_yield();
/* TODO: Where should this be called? */
srv_free();
@@ -1563,11 +1556,7 @@ innobase_shutdown_for_mysql(void)
/* TODO: Where should this be called? */
srv_general_free();
#endif
- /*
- TODO: We should exit the i/o-handler and other utility threads
- before freeing all memory. Now this can potentially cause a seg
- fault!
- */
+
#if defined(NOT_WORKING_YET) || defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
/* NetWare requires this free */
ut_free_all_mem();