[Mono-bugs] [Bug 474217] Creating a remoting connection takes very long when a large number of clients connect simultaneously
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 14 09:45:28 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=474217
https://bugzilla.novell.com/show_bug.cgi?id=474217#c10
--- Comment #10 from Sven Groot <sgroot at tkl.iis.u-tokyo.ac.jp> 2010-12-14 14:45:27 UTC ---
Lluis, thanks for your response.
Your concern is not entirely invalid. Waiting on a thread pool thread from a
thread pool thread is something that can always lead to deadlock, and should
therefore never be done.
However, in Microsoft .Net, remoting requests are also executed on the thread
pool, so it has exactly the same issue. You cannot safely wait for a thread
pool thread from a remoting call in Microsoft .Net, so I don't see why it would
be a problem to use the same implementation in Mono.
The current homegrown thread pool doesn't just have the PoolGrowDelay issue,
it's also subject to a race condition, see bug #557212, which I filed long ago
but no one ever responded to.
I think using the system thread pool would be a better option.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list