projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1e573
)
threadpool.c: In function 'mono_threadpool_remove_domain_jobs':
author
Jay Krell
<jaykrell@microsoft.com>
Thu, 13 Jun 2019 08:24:12 +0000
(
01:24
-0700)
committer
Larry Ewing
<lewing@microsoft.com>
Tue, 18 Jun 2019 02:53:08 +0000
(21:53 -0500)
threadpool.c:571:91: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized]
res = mono_coop_cond_timedwait (&tpdomain->cleanup_cond, &threadpool.domains_lock, end - now);
Commit migrated from https://github.com/mono/mono/commit/
a37f71a4ea64703100f89ba4108fce661ebae317
src/mono/mono/metadata/threadpool.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/metadata/threadpool.c
b/src/mono/mono/metadata/threadpool.c
index
d64d9fe
..
ff0b588
100644
(file)
--- a/
src/mono/mono/metadata/threadpool.c
+++ b/
src/mono/mono/metadata/threadpool.c
@@
-513,7
+513,7
@@
mono_threadpool_end_invoke (MonoAsyncResult *ares, MonoArray **out_args, MonoObj
gboolean
mono_threadpool_remove_domain_jobs (MonoDomain *domain, int timeout)
{
- gint64 end;
+ gint64 end
= 0
;
ThreadPoolDomain *tpdomain;
gboolean ret;