[go-nuts] fmt package documentation

2022-07-04 Thread Allen Tracht
The documentation of the formatting language inhttps://cs.opensource.google/go/go/+/master:src/fmt/doc.go;l=132 doesn't render the "other flags" section well. It all runs together: source: Other flags: '+'always print a sign for numeric values; guarantee ASCII-only output for

[go-nuts] The program stucked on __vdso_clock_gettime (x86_64)

2022-07-04 Thread Chenhong Liu
Hi, I encountered a wiered problem recently. *Environment* Arch: x86_64 CPU Vendor: hygon (AMD Zen1 OEM) (www.hygon.cn) (Hygon C86 7285) OS: CentOS 7.6 Kernel: 3.10.0-957 Go version: 1.15.6 *What happened* Our pure go program, named controllerd, stopped working except looping on one cpu core

[go-nuts] Re: syscall/js (wasm): Wrapped func, goroutines, GOMAXPROCS, mutex necessity?

2022-07-04 Thread atd...@gmail.com
ok so, thinking about it again, I guess that here, there is no preemption point within functions. So when a wrapped function returns, the event loop resumes and it is then ok to call another wrapped function which may use the event loop. However, there could be an issue if the wasm code were abl