|
-
Dec 23rd, 2009, 09:49 AM
#6
Hyperactive Member
Re: how to check if Mutex is Released
 Originally Posted by NickThissen
I've never used it before but I think you should simply declare a new Object and use that, something like this:
Code:
Dim obj As New Object()
Public Shared Property someproperty() As Boolean
Get
Return VAR_propvalue
End Get
Set(ByVal value As Boolean)
SyncLock obj
VAR_propvalue = value
End SyncLock
End Set
End Property
Whether this is the right approach in a property, I've no idea.
That's ugly .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|