[Mono-devel-list] Patch for Thread.GetNamedDataSlot

Sébastien Robitaille sebastien.robitaille at croesus.com
Wed Jul 14 21:14:15 EDT 2004


here is another patch to review.

The problem: Thread.GetNamedDataSlot is not thread-safe. There is an exception thrown if multiple threads are calling this method at
the same time.

The exception is also thrown when using Remoting with multiple threads
(because GetNamedDataSlot is used by

The proposed patch was also added to the bug report #61582 in the "diff -u" format :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Thread.cs.patch
Type: application/octet-stream
Size: 958 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040714/ba1d4382/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GetNamedDataSlotTest.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040714/ba1d4382/attachment.pl 

More information about the Mono-devel-list mailing list