Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77280 --- shadow/77280 2006-01-19 08:13:21.000000000 -0500 +++ shadow/77280.tmp.767 2006-01-19 12:40:21.000000000 -0500 @@ -73,6 +73,16 @@ -Pawan ------- Additional Comments From [EMAIL PROTECTED] 2006-01-19 08:13 ------- You have to lock the invocation of the event too with the same lock since it accesses the same data. + +------- Additional Comments From [EMAIL PROTECTED] 2006-01-19 12:40 ------- +I just checked the c# spec. + and - operations on an event are +supposed to be threadsafe as well as the event invocation. The +function callback may not be threadsafe because that is user code. + +So after adding the lock, the code works on Mono/Linux. But on Windows +it works without locks because according to c# specs, + and - +operation on an event and event invocations are threadsafe. So it +would seem like a Mono implementation issue. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
