   private init(value: Int32)
   {
     svalue = (value > 0) ? value : 0
-    semp = {
-      var newport = semaphore_t()
-      let kr = semaphore_create(mach_task_self_, &newport, SYNC_POLICY_FIFO, 0)
-      assert(kr == KERN_SUCCESS, __FUNCTION__)
-      return newport
-    }()
+//    semp = {
+//      var newport = semaphore_t()
+//      let kr = semaphore_create(mach_task_self_, &newport, SYNC_POLICY_FIFO, 0)
+//      assert(kr == KERN_SUCCESS, __FUNCTION__)
+//      return newport
+//    }()
   }
 
   private convenience init()

    {
      return true
    }

    var kr: kern_return_t
    switch timeout


import Darwin.Mach
import Dispatch.time
import Foundation.NSThread

struct SemaphorePool
{
