]> Cypherpunks repositories - gostls13.git/commit
runtime: use correct memory barrier in exitThread function on loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Tue, 26 Nov 2024 09:10:32 +0000 (17:10 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Thu, 27 Feb 2025 01:35:25 +0000 (17:35 -0800)
commit11c847e536bff955eab65cc0a3008557362dda22
tree1a050af87af49edabb0c545d2cb0c5e766bf50a6
parentc594762ad5289c0ea5e1cb63675acf7350c2503e
runtime: use correct memory barrier in exitThread function on loong64

In the runtime.exitThread function, a storeRelease barrier
is required instead of a full barrier.

Change-Id: I2815ddb03e4984c891d71811ccf650a82325e10d
Reviewed-on: https://go-review.googlesource.com/c/go/+/631915
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/sys_linux_loong64.s