Xojo.Threading.Semaphore.Constructor(Optional numResources As Integer = 1)

From Xojo Documentation

Constructor

Xojo.Threading.Semaphore.Constructor(Optional numResources As Integer = 1)

Creates a semaphore with an initial count of resources to track.