Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mkcl
mkcl
Commits
88650fb1
Commit
88650fb1
authored
May 17, 2020
by
Jean-Claude Beaudoin
Browse files
Give a more explicit name to the default signal_servicing_loop().
parent
6fe717cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/c/unixint.d
View file @
88650fb1
...
...
@@ -1778,7 +1778,7 @@ mk_mt_try_to_wake_up_thread(MKCL, mkcl_object thread)
#
if
MKCL_UNIX
static
void
*
signal_servicing_loop
(
void
*
arg
)
static
void
*
default_
signal_servicing_loop
(
void
*
arg
)
{
pthread_detach
(
pthread_self
());
for
(;;)
/* sleep forever! */
...
...
@@ -2020,7 +2020,7 @@ void mkcl_init_early_unixint(MKCL)
/* Create a forever sleeping thread to ensure async-signals handlers will always find
at least one thread stack to run on. */
if
(
pthread_create
(&
default_signal_servicing_thread
,
NULL
,
signal_servicing_loop
,
NULL
))
if
(
pthread_create
(&
default_signal_servicing_thread
,
NULL
,
default_
signal_servicing_loop
,
NULL
))
mkcl_lose
(
env
,
"mkcl_init_unixint failed on pthread_create."
);
#
if
__ANDROID__
&&
(
__arm__
||
__i386__
)
...
...
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