[Mono-bugs] [Bug 653928] Delegate.BeginInvoke from thread-pool thread does NOT run until it exits

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 16 08:55:09 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=653928

https://bugzilla.novell.com/show_bug.cgi?id=653928#c2


Andy Hume <andyhume32 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #400473|0                           |1
        is obsolete|                            |

--- Comment #2 from Andy Hume <andyhume32 at yahoo.co.uk> 2010-11-16 13:55:08 UTC ---
Created an attachment (id=400512)
 --> (http://bugzilla.novell.com/attachment.cgi?id=400512)
Updated -- C# code file containing repro code as described.

Ok, seems it is not Delegate.BeginInvoke specifically...  It's actually any(?)
QueueUserWorkItem from within a thread-pool thread!

Mono 2.8, WinXP:
[[
* SimpleTestOuterQuwiInnerQuwi
229827921: Calling QueueUserWorkItem(outer)
229827937: Outer: calling QueueUserWorkItem(inner)  [TID: 2]
229827937: Outer: pausing...
229829937: Outer: exiting...
229829937:     Inner: Was I called only **after** Outer exited??????  [TID: 2]
]]

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list