Replacing @synchronized locking mechanism with spinLock.\nAlso changing fifo to CFArray to avoid boxing key integer to a NSNumber