Can find sync attribute

  • Thread starter Thread starter Tanja Krammer
  • Start date Start date
T

Tanja Krammer

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
 
Tanja,
Can somebody point me where this attribute it, I lost it and can't find.

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


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top