[go-nuts] Re: mcache per P or per M?

2019-11-03 Thread tokers
Hello! It's my own understanding and it's not necessary true. The mcache belongs to per P, but by assigning it to M, we can mark M is binded to this P. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop rece

[go-nuts] RFC - scheduler for Go channels

2019-11-03 Thread Giulio Micheloni
Hi everybody, I have just finalized my first open source library written in Go. It is simple implementation of DRR scheduler for channels. More details are in repo's README file. https://github.com/bigmikes/drr I would expect this package to be useful for your programs where prioritizing req

[go-nuts] cgo build error

2019-11-03 Thread Bill Anderson
*I met a problem* *I compiled a native ELF binary running on android arm7 on Ubuntu.* export GOOS=android export GOARCH=arm export GOARM=7 export CGO_ENABLED=1 export CGO_CFLAGS="-g -O2 --sysroot=/mnt/d/sdk/android/android-ndk-r14b-linux/android-24/arch-arm" export CGO_LDFLAGS="--sysroot=/mnt/d/