projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[threads] Inline thread_cleanup into mono_thread_detach_internal (#4119)
[mono.git]
/
mono
/
metadata
/
threadpool-ms-io.c
diff --git
a/mono/metadata/threadpool-ms-io.c
b/mono/metadata/threadpool-ms-io.c
index b78ca83b28551282d59395dba3d132807871f8c8..7cdaf5be6842228814efe36fa9922ba81fbe4ea5 100644
(file)
--- a/
mono/metadata/threadpool-ms-io.c
+++ b/
mono/metadata/threadpool-ms-io.c
@@
-565,7
+565,7
@@
ves_icall_System_IOSelector_Add (gpointer handle, MonoIOSelectorJob *job)
{
ThreadPoolIOUpdate *update;
- g_assert (handle
>= 0
);
+ g_assert (handle);
g_assert ((job->operation == EVENT_IN) ^ (job->operation == EVENT_OUT));
g_assert (job->callback);