Concurrency: Continuation Memory Management

I have a SIGSEGV in libdispatch when releasing a (previously stored) continuation. The same code works on Linux, hence I suspect a bug in the libdispatch or compiler implementation for Apple platforms.

Now that my stored continuations are finally called (https://bugs.swift.org/browse/SR-14841), I can't release them…

There is a full bug report @ https://bugs.swift.org/browse/SR-15133 – I'd be grateful for any "you're holding it wrong" comments or anything that helps me get beyond this major roadblock.

Thanks.

1 Like
Terms of Service

Privacy Policy

Cookie Policy