Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
Dim sem As New Semaphore(5, 5) 'Indicates that up to 5 resources can be aquired
|
||||
sem.WaitOne() 'Blocks until a resouce can be aquired
|
||||
Dim oldCount = sem.Release() 'Returns a resource to the pool
|
||||
'oldCount has the Semaphore's count before Release was called
|
||||
Loading…
Add table
Add a link
Reference in a new issue