projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3328 from BrzVlad/finalizer-thread-exited2
[mono.git]
/
mono
/
utils
/
mono-threads-posix.c
diff --git
a/mono/utils/mono-threads-posix.c
b/mono/utils/mono-threads-posix.c
index adf14f22eaf802f541bcabef1e24cba8fb8f1d99..cb218f5c14d3d3e88957435fb7c5b6d1c5aea175 100644
(file)
--- a/
mono/utils/mono-threads-posix.c
+++ b/
mono/utils/mono-threads-posix.c
@@
-61,8
+61,7
@@
inner_start_thread (void *arg)
/* Register the thread with the io-layer */
handle = wapi_create_thread_handle ();
if (!handle) {
/* Register the thread with the io-layer */
handle = wapi_create_thread_handle ();
if (!handle) {
- res = mono_coop_sem_post (&(start_info->registered));
- g_assert (!res);
+ mono_coop_sem_post (&(start_info->registered));
return NULL;
}
start_info->handle = handle;
return NULL;
}
start_info->handle = handle;
@@
-80,8
+79,7
@@
inner_start_thread (void *arg)
}
/* start_info is not valid after this */
}
/* start_info is not valid after this */
- res = mono_coop_sem_post (&(start_info->registered));
- g_assert (!res);
+ mono_coop_sem_post (&(start_info->registered));
start_info = NULL;
if (flags & CREATE_SUSPENDED) {
start_info = NULL;
if (flags & CREATE_SUSPENDED) {