Wait for Semaphore Object
ok = semo:wait( [ms] )
Wait for a semaphore to become available.
ms
defaults to 500ms, and is limited in the range 25 to 2000ms.
Use semaphores to efficiently put a thread/task to sleep, but be woken immediately when some work needs to happen.