SwiftCoroutine
SwiftCoroutine copied to clipboard
Swift coroutines for iOS, macOS and Linux.
不知道什么操作导致主线程栈溢出,导致出现UI渲染crash了,最后修改下面代码为512解决,想了解有没有什么错误写法导致库的栈不释放,很容易栈溢出 internal static let recommended = Coroutine.StackSize(size: 512 * 1024)
For the following code, if I put a breakpoint on line where `let a` is in Xcode, LLDB debug server will crash. If I start the initial coroutine on main...
Looking at the documentation and test codes, it doesn't seem like there is a way to signal the cause of the cancellation of the channel. I think it would be...
When adding SwiftCoroutine to watchOS or tvOS targets, I am getting an error indicating that GNU-style inline assembly is disabled. [StackOverflow thread regarding the availability of inline assembly](https://stackoverflow.com/questions/33680293/is-there-any-indication-as-to-which-apple-platforms-allow-inline-assembly) --- Thank...
Another feature request: Go has a `select` statement that facilitates the use of multiple channels simultaneously for timers, out-of-band control, etc. Are you planning to add something similar? https://tour.golang.org/concurrency/5
Sometimes it works fine. Sometimes app starts crushing at `_setjmp(env)` with `EXC_BAD_ACCESS` in the following code: ``` void __suspend(void* env, void** sp, void* ret, int retVal) { if (_setjmp(env)) return;...