summaryrefslogtreecommitdiff
path: root/src/internal/diff/diff.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-03-17 22:39:53 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2022-03-18 06:03:19 +0000
commitadfee1e1e7b3236770c19d255e945613a53a34cc (patch)
tree6f8c627599faedfa04781201d33f08346931e58a /src/internal/diff/diff.go
parent489102de18cff38d1b12d09eeb7e60af42492d63 (diff)
downloadgo-git-adfee1e1e7b3236770c19d255e945613a53a34cc.tar.gz
runtime/cgo: remove memset in _cgo_sys_thread_start on freebsd/arm
pthread_attr_init on freebsd properly initializes the pthread_attr, there is no need to zero it before the call. The comment and code were probably copied from the linux/arm implementation. This aligns the implementation on freebsd/arm with the implementation on other freebsd architectures. Fixes #44248 Change-Id: If82ebb115b877b6c6f4862018a9419ba8d870f12 Reviewed-on: https://go-review.googlesource.com/c/go/+/393617 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com> Trust: Hajime Hoshi <hajimehoshi@gmail.com>
Diffstat (limited to 'src/internal/diff/diff.go')
0 files changed, 0 insertions, 0 deletions