1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 x_cgo_getstackbound(uintptr *low)
16 addr = pthread_get_stackaddr_np(p); // high address (!)
17 size = pthread_get_stacksize_np(p);
18 *low = (uintptr)addr - size;