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
8bcc21c8
Commit
8bcc21c8
authored
Feb 22, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M40/clone-4.0
into trift2.:/MySQL/M40/mysql-4.0
parents
774cddae
6f21a5af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
include/config-win.h
include/config-win.h
+1
-1
mysys/my_thr_init.c
mysys/my_thr_init.c
+3
-0
mysys/thr_alarm.c
mysys/thr_alarm.c
+0
-1
No files found.
include/config-win.h
View file @
8bcc21c8
...
@@ -167,7 +167,7 @@ typedef uint rf_SetTimer;
...
@@ -167,7 +167,7 @@ typedef uint rf_SetTimer;
/* Convert some simple functions to Posix */
/* Convert some simple functions to Posix */
#define sigset(A,B) signal((A),(B))
#define
my_
sigset(A,B) signal((A),(B))
#define finite(A) _finite(A)
#define finite(A) _finite(A)
#define sleep(A) Sleep((A)*1000)
#define sleep(A) Sleep((A)*1000)
...
...
mysys/my_thr_init.c
View file @
8bcc21c8
...
@@ -60,11 +60,14 @@ static uint get_thread_lib(void);
...
@@ -60,11 +60,14 @@ static uint get_thread_lib(void);
my_bool
my_thread_global_init
(
void
)
my_bool
my_thread_global_init
(
void
)
{
{
#if defined(SIGALRM) || defined(SIGUSR1)
/* On Windows, these signals are not defined, but this whole part is not needed. */
thd_lib_detected
=
get_thread_lib
();
thd_lib_detected
=
get_thread_lib
();
if
(
thd_lib_detected
==
THD_LIB_LT
)
if
(
thd_lib_detected
==
THD_LIB_LT
)
thr_client_alarm
=
SIGALRM
;
thr_client_alarm
=
SIGALRM
;
else
else
thr_client_alarm
=
SIGUSR1
;
thr_client_alarm
=
SIGUSR1
;
#endif
if
(
pthread_key_create
(
&
THR_KEY_mysys
,
0
))
if
(
pthread_key_create
(
&
THR_KEY_mysys
,
0
))
{
{
...
...
mysys/thr_alarm.c
View file @
8bcc21c8
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
#define ETIME ETIMEDOUT
#define ETIME ETIMEDOUT
#endif
#endif
uint
thr_client_alarm
;
static
int
alarm_aborted
=
1
;
/* No alarm thread */
static
int
alarm_aborted
=
1
;
/* No alarm thread */
my_bool
thr_alarm_inited
=
0
;
my_bool
thr_alarm_inited
=
0
;
volatile
my_bool
alarm_thread_running
=
0
;
volatile
my_bool
alarm_thread_running
=
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