We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ErrAbortThread
1 parent c95a480 commit e9e1f63Copy full SHA for e9e1f63
internal/coroutine/coro.go
@@ -9,11 +9,8 @@ import (
9
"unsafe"
10
)
11
12
-var (
13
- // ErrCannotYieldANonrunningThread represents an "can not yield a non-running thread" error.
14
- ErrCannotYieldANonrunningThread = errors.New("can not yield a non-running thread")
15
- ErrAbortThread = errors.New("abort thread")
16
-)
+// ErrCannotYieldANonrunningThread represents an "can not yield a non-running thread" error.
+var ErrCannotYieldANonrunningThread = errors.New("can not yield a non-running thread")
17
18
// -------------------------------------------------------------------------------------
19
0 commit comments