Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1616e201
Commit
1616e201
authored
Feb 02, 2007
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge chilla.local:/home/mydev/mysql-4.1-axmrg
into chilla.local:/home/mydev/mysql-5.0-axmrg
parents
5e5c1b76
3a664472
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
8 deletions
+1
-8
include/my_pthread.h
include/my_pthread.h
+0
-1
include/thr_alarm.h
include/thr_alarm.h
+1
-0
mysys/my_pthread.c
mysys/my_pthread.c
+0
-3
mysys/my_thr_init.c
mysys/my_thr_init.c
+0
-4
No files found.
include/my_pthread.h
View file @
1616e201
...
...
@@ -771,7 +771,6 @@ extern uint my_thread_end_wait_time;
#define THD_LIB_LT 4
extern
uint
thd_lib_detected
;
extern
uint
thr_client_alarm
;
/* statistics_xxx functions are for not essential statistic */
...
...
include/thr_alarm.h
View file @
1616e201
...
...
@@ -93,6 +93,7 @@ typedef struct st_alarm {
}
ALARM
;
extern
uint
thr_client_alarm
;
extern
pthread_t
alarm_thread
;
#define thr_alarm_init(A) (*(A))=0
#define thr_alarm_in_use(A) (*(A)!= 0)
...
...
mysys/my_pthread.c
View file @
1616e201
...
...
@@ -30,7 +30,6 @@
#endif
uint
thd_lib_detected
;
uint
thr_client_alarm
;
#ifndef my_pthread_setprio
void
my_pthread_setprio
(
pthread_t
thread_id
,
int
prior
)
...
...
@@ -318,8 +317,6 @@ void sigwait_handle_sig(int sig)
pthread_mutex_unlock
(
&
LOCK_sigwait
);
}
extern
pthread_t
alarm_thread
;
void
*
sigwait_thread
(
void
*
set_arg
)
{
sigset_t
*
set
=
(
sigset_t
*
)
set_arg
;
...
...
mysys/my_thr_init.c
View file @
1616e201
...
...
@@ -80,10 +80,6 @@ static uint get_thread_lib(void);
my_bool
my_thread_global_init
(
void
)
{
thd_lib_detected
=
get_thread_lib
();
if
(
thd_lib_detected
==
THD_LIB_LT
)
thr_client_alarm
=
SIGALRM
;
else
thr_client_alarm
=
SIGUSR1
;
if
(
pthread_key_create
(
&
THR_KEY_mysys
,
0
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment