[Mono-devel-list] [PATCH] Reworked unified Locale classes

Kornél Pál kornelpal at hotmail.com
Wed Jun 15 17:12:10 EDT 2005


>> private static readonly LocalDataStoreSlot getTextLock =
>> Thread.AllocateDataSlot ();
>
> Try using [ThreadStatic], it's a bit cleaner.

It examined the documentation and it's really cleaner and may be faster as
well.

I attached a new diff file.

Kornél
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Locale.diff
Type: application/octet-stream
Size: 8434 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050615/534a3418/attachment.obj 


More information about the Mono-devel-list mailing list