all groups > c# > april 2006 >
You're in the

c#

group:

Can find sync attribute


Can find sync attribute Tanja Krammer
4/3/2006 9:00:28 PM
c#:
Dear all,
Somewhere in .NET classes I have seen an attribute, which prevents a method
from being called simultanousely from multiple threads.
I know I cold use Lock or mutext but I prefer to find this attribute.
Can somebody point me where this attribute it, I lost it and can't find.
Thank you

Re: Can find sync attribute Mattias Sjögren
4/3/2006 9:19:30 PM
Tanja,

[quoted text, click to view]

System.Runtime.CompilerServices.MethodImplAttribute, specify
MethodImplOptions.Synchronized.


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button