aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/os_js.go')
-rw-r--r--src/runtime/os_js.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/os_js.go b/src/runtime/os_js.go
index 9ed916705b..6f358d36d6 100644
--- a/src/runtime/os_js.go
+++ b/src/runtime/os_js.go
@@ -7,6 +7,7 @@
package runtime
import (
+ "runtime/internal/atomic"
"unsafe"
)
@@ -35,7 +36,7 @@ func usleep_no_g(usec uint32) {
usleep(usec)
}
-func exitThread(wait *uint32)
+func exitThread(wait *atomic.Uint32)
type mOS struct{}