Apple M1 (and possible ARM PCs): unpopulated cpus map
Open
- Dominant language
- Go
- Stars
- 356
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
when `RLock()`'ing a `drwmutex` on an M1 mac, `cpu()` returns 0, but the map itself is empty:
```
func map_cpus() (cpus map[uint64]int) {
cpus = make(map[uint64]int)
return
}
```
Perhaps, a tmp solution:
`cpus = map[uint64]int{0: 0}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.