mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Bug#18913935: REMOVE SUPPORT FOR LINUXTHREADS
This patch removes support for LinuxThreads. It was superseded by NPTL in Linux 2.6 (2003).
This commit is contained in:
parent
17ea240f6b
commit
52d7980753
10 changed files with 5 additions and 374 deletions
|
|
@ -321,10 +321,6 @@ static PSI_rwlock_key key_rwlock_openssl;
|
|||
#endif
|
||||
#endif /* HAVE_PSI_INTERFACE */
|
||||
|
||||
#ifdef HAVE_NPTL
|
||||
volatile sig_atomic_t ld_assume_kernel_is_set= 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
Statement instrumentation key for replication.
|
||||
*/
|
||||
|
|
@ -2952,8 +2948,7 @@ void init_signals(void)
|
|||
sa.sa_flags = 0;
|
||||
sa.sa_handler = print_signal_warning;
|
||||
sigaction(SIGHUP, &sa, (struct sigaction*) 0);
|
||||
if (thd_lib_detected != THD_LIB_LT)
|
||||
sigaddset(&set,THR_SERVER_ALARM);
|
||||
sigaddset(&set,THR_SERVER_ALARM);
|
||||
if (test_flags & TEST_SIGINT)
|
||||
{
|
||||
/* Allow SIGINT to break mysqld. This is for debugging with --gdb */
|
||||
|
|
@ -5335,9 +5330,6 @@ int mysqld_main(int argc, char **argv)
|
|||
if (init_early_variables())
|
||||
exit(1);
|
||||
|
||||
#ifdef HAVE_NPTL
|
||||
ld_assume_kernel_is_set= (getenv("LD_ASSUME_KERNEL") != 0);
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
// For windows, my_init() is called from the win specific mysqld_main
|
||||
if (my_init()) // init my_sys library & pthreads
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue