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
0b4b5569
Commit
0b4b5569
authored
Sep 28, 2009
by
Magnus Blåudd
Browse files
Options
Browse Files
Download
Plain Diff
Merge bug#42850 to 5.1
parents
90d4b21d
56b7b74b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mysys/my_thr_init.c
mysys/my_thr_init.c
+4
-3
No files found.
mysys/my_thr_init.c
View file @
0b4b5569
...
...
@@ -108,10 +108,11 @@ my_bool my_thread_global_init(void)
pthread_attr_t
dummy_thread_attr
;
pthread_attr_init
(
&
dummy_thread_attr
);
pthread_attr_setdetachstate
(
&
dummy_thread_attr
,
PTHREAD_CREATE_
DETACHED
);
pthread_attr_setdetachstate
(
&
dummy_thread_attr
,
PTHREAD_CREATE_
JOINABLE
);
pthread_create
(
&
dummy_thread
,
&
dummy_thread_attr
,
nptl_pthread_exit_hack_handler
,
NULL
);
if
(
pthread_create
(
&
dummy_thread
,
&
dummy_thread_attr
,
nptl_pthread_exit_hack_handler
,
NULL
)
==
0
)
(
void
)
pthread_join
(
dummy_thread
,
NULL
);
}
#endif
/* TARGET_OS_LINUX */
...
...
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