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

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


--- Comment #1 from Andy Hume <[email protected]> 2010-11-16 13:42:12 UTC 
---
So, according to Thread.ManagedThreadId, the BeginInvoke call schedules the
delegate to run on the same thread-pool thread!  No wonder it doesn't run until
the originating thread-pool method exits...

Mono 2.8:  Note from thread 2 to thread 2!
[[
* SimpleTest
229027406: Calling outer.BeginInvoke
229027421: Outer: calling inner.BeginInvoke  [TID: 2]
229027421: Outer: pausing...
229029421: Outer: exiting...
229029421:     Inner: Was I called only **after** Outer exited??????  [TID: 2]
]]

Mono 2.6.3:  Note from thread 2 to thread 3. :-)
[[
* SimpleTest
229005656: Calling outer.BeginInvoke
229005656: Outer: calling inner.BeginInvoke  [TID: 2]
229005656: Outer: pausing...
229005656:     Inner: Was I called only **after** Outer exited??????  [TID: 3]
229007656: Outer: exiting...
]]

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to