     Determine whether the channel has been closed
   */
 
-  final override var isClosed: Bool { return closed }
+  final override var isClosed: Bool { return closed != 0 }
 
   // MARK: ChannelType methods
 

    }
    else
    {
      assert(closed, __FUNCTION__)
      OSSpinLockUnlock(&rlock)
      dispatch_semaphore_signal(filled)
      return nil


  final override func get() -> T?
  {
    if closed != 0 && (tail &- head) <= 0 { return nil }

    dispatch_semaphore_wait(filled, DISPATCH_TIME_FOREVER)
    OSSpinLockLock(&rlock)
