Creating a Shared Lock
- From: "Bob Bins" <msgdev@xxxxxxxxxxx>
- Date: Fri, 17 Mar 2006 10:33:13 -0500
Is there a way to create a shared lock using the Monitor class or any other
synchronization class in .NET?
So I have one resource that may have multiple threads using it at once but a
second thread that when called must have exclusive access and cause the
other threads to wait.
I can't figure out how to do this with .Net.
Thanks.
.
- Follow-Ups:
- Re: Creating a Shared Lock
- From: William Stacey [MVP]
- Re: Creating a Shared Lock
- From: Brian Gideon
- Re: Creating a Shared Lock
- Prev by Date: Re: How can I play "standard system sounds" in C# ?
- Next by Date: Re: How does Media Player do that resolution trick?
- Previous by thread: How does Media Player do that resolution trick?
- Next by thread: Re: Creating a Shared Lock
- Index(es):