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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
42f4834f
Commit
42f4834f
authored
Sep 04, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix
parent
c0d11f1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
include/my_pthread.h
include/my_pthread.h
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+0
-4
No files found.
include/my_pthread.h
View file @
42f4834f
...
...
@@ -146,6 +146,7 @@ int pthread_mutex_destroy (pthread_mutex_t *);
#define pthread_mutex_destroy(A) DeleteCriticalSection(A)
#define my_pthread_setprio(A,B) SetThreadPriority(GetCurrentThread(), (B))
#define pthread_kill(A,B) pthread_dummy(0)
#define pthread_exit(A) pthread_dummy()
#endif
/* OS2 */
/* Dummy defines for easier code */
...
...
sql/mysqld.cc
View file @
42f4834f
...
...
@@ -634,9 +634,7 @@ static void __cdecl kill_server(int sig_ptr)
unireg_abort
(
1
);
/* purecov: inspected */
else
unireg_end
(
0
);
#ifndef OS2
pthread_exit
(
0
);
/* purecov: deadcode */
#endif
RETURN_FROM_KILL_SERVER
;
}
...
...
@@ -668,9 +666,7 @@ static sig_handler print_signal_warning(int sig)
void
unireg_end
(
int
signal_number
__attribute__
((
unused
)))
{
clean_up
();
#ifndef OS2
pthread_exit
(
0
);
// Exit is in main thread
#endif
}
...
...
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