By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,775 Members | 1,353 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,775 IT Pros & Developers. It's quick & easy.

Can find sync attribute

P: n/a
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
Apr 3 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Tanja,
Can somebody point me where this attribute it, I lost it and can't find.


System.Runtime.CompilerServices.MethodImplAttribut e, specify
MethodImplOptions.Synchronized.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Apr 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.