Xojo.Threading.Semaphore.Constructor(Optional numResources As Integer = 1)
From Xojo Documentation
Constructor
Creates a semaphore with an initial count of resources to track.
Creates a semaphore with an initial count of resources to track.