-
routine
Sai chỗ nào ?
https://groups.google.com/g/golang-nuts/c/SjSX1Jv6Si8
-
I can't seem to have it report the number of goroutines in my running process? I am using the vars="Goroutines". I do see memory stats
expvarmon -ports="4000" -vars="Goroutines,mem:memstats.HeapInuse…
-
Hello @guelfey, the dbus is very useful, but I found a potential bug when I used it.
blocking position:
https://github.com/godbus/dbus/blob/76236955d466b078d82dcb16b7cf1dcf40ac25df/conn.go#L302
In …
-
```
goroutine 4465 [sleep]:
time.Sleep(0x14101bc0)
/usr/lib/go/src/runtime/time.go:315 +0xf7
github.com/sigcn/pg/disco/udp.(*UDPConn).RunDiscoMessageSendLoop.func1(0xc000094488, 0xc0029533…
-
This isn't goroutine safe is it?
Are you planning to add go-routine safe features if it is doable?
Thank you.
My preliminary tests crashed when I tried to access multiple URLs using go routines.
-
I wrote a simple program and killed it with SIGQUIT with various go versions and captured the backtraces
```go
package main
import "time"
func main() {
time.Sleep(time.Minute)
}
```
W…
-
```
panic: test timed out after 10m0s
running tests:
TestSimpleDebouncer (10m0s)
TestSimpleDebouncer/Case_2 (10m0s)
goroutine 41 [running]:
testing.(*M).startAlarm.func1()
/opt/hostedtoolcache/…
-
1. 调用Get(),本地与redis缓存均未命中,进而调用loader()
2. 在loader()中查询数据库之后,开启了一个goroutine,会调用一次刷新缓存 Set操作(计为A)
3. loader()返回,再次调用Set操作(计为B)
我在本地测试了几次,结果是先调用B,后调用A,可能开启goroutine并执行相对于函数返回直接执行更加耗时
![WX20241128…
-
I encountered a panic when trying to log a `json.UnmarshalTypeError` using the `masq` package.
Here is a minimal reproducible example:
(Go Playground: https://go.dev/play/p/-dHYkPphzDW)
```go…
-
### Product Version
4.3.0
### Product Edition
- [X] Community Edition
- [ ] Enterprise Edition
- [ ] Enterprise Trial Edition
### Installation Method
- [ ] Online Installation (One-click command …