mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
thread_registry.h, thread_registry.cc:
Add explicit Thread_info::Thread_info() and move both initializers out of class definition, to solve link problem on QNX Makefile.am: Preserve executable mode on scripts make_binary_distribution.sh: Copy *.imtest files
This commit is contained in:
@ -37,6 +37,14 @@ static void handle_signal(int __attribute__((unused)) sig_no)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
Thread_info initializer methods
|
||||
*/
|
||||
|
||||
Thread_info::Thread_info() {}
|
||||
Thread_info::Thread_info(pthread_t thread_id_arg) :
|
||||
thread_id(thread_id_arg) {}
|
||||
|
||||
/*
|
||||
TODO: think about moving signal information (now it's shutdown_in_progress)
|
||||
to Thread_info. It will reduce contention and allow signal deliverence to
|
||||
|
@ -67,13 +67,14 @@
|
||||
|
||||
class Thread_info
|
||||
{
|
||||
public:
|
||||
Thread_info();
|
||||
Thread_info(pthread_t thread_id_arg);
|
||||
friend class Thread_registry;
|
||||
private:
|
||||
pthread_cond_t *current_cond;
|
||||
Thread_info *prev, *next;
|
||||
pthread_t thread_id;
|
||||
Thread_info() {}
|
||||
friend class Thread_registry;
|
||||
public:
|
||||
Thread_info(pthread_t thread_id_arg) : thread_id(thread_id_arg) {}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user