1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
This commit is contained in:
tim@black.box
2001-09-16 22:10:50 -04:00
10 changed files with 541 additions and 42 deletions

View File

@ -682,7 +682,11 @@ static sig_handler print_signal_warning(int sig)
void unireg_end(int signal_number __attribute__((unused)))
{
clean_up();
#if defined(EMBEDDED_LIBRARY)
exit(0); // XXX QQ: this is a temporary hack (I hope)
#else
pthread_exit(0); // Exit is in main thread
#endif
}