 
   final override func get() -> T?
   {
-    if closed && (tail &- head) <= 0 { return nil }
+    if closed != 0 && (tail &- head) <= 0 { return nil }
 
     dispatch_semaphore_wait(filled, DISPATCH_TIME_FOREVER)
     OSSpinLockLock(&rlock)

    Determine whether the channel has been closed
  */

  final override var isClosed: Bool { return closed }

  // MARK: ChannelType methods



  final override func close()
  {
    if OSAtomicCompareAndSwapLongBarrier(0, 1, &closed)
    {
      dispatch_semaphore_signal(filled)
      dispatch_semaphore_signal(empty)
    }
  }

  /**
