]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert openbsd/amd64 locking to libc
authorJoel Sing <joel@sing.id.au>
Fri, 15 Jan 2021 17:38:50 +0000 (04:38 +1100)
committerJoel Sing <joel@sing.id.au>
Wed, 20 Jan 2021 09:06:08 +0000 (09:06 +0000)
commit928bda4f4a88efe2e53f3607e8d2ad0796b449c0
treed9cd405d88ffc881d8d903535c3582d96f85fb1b
parent824f2d635ca96a7bded6ed039f8a9c0f06ee1443
runtime: convert openbsd/amd64 locking to libc

Switch openbsd/amd64 to locking via libc, rather than performing direct
system calls.

Update #36435

Change-Id: I5e92bd70ce557b78ff385577088a9775cc468ea9
Reviewed-on: https://go-review.googlesource.com/c/go/+/270378
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/os_openbsd.go
src/runtime/os_openbsd_syscall1.go [new file with mode: 0644]
src/runtime/sys_openbsd1.go [new file with mode: 0644]
src/runtime/sys_openbsd_amd64.s