Hmm that seems unfortunate. I wonder if the serial creation is due to an
unwrapped optional? var attr: dispatch_queue_attr_t? instead might do the
trick… or alternatively we could just let the underlying queue be concurrent
all the time and enforce the max ops via making the semaphore always
in
Hi All,
I'm trying to follow the instructions here
https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/GettingStarted.md
It indicates to install the current Swift toolchain and points to this link:
https://swift.org/download/#latest-development-snapshots
Now if I scroll down I se
Hello
Code snippet:
———
let operation1 : NSBlockOperation = NSBlockOperation (block: {
sleep(1)
print("Opertion1")
})
let operation2 : NSBlockOperation = NSBlockOperation (block: {
sleep(1)
print("Opertion2”)