Skip to content

Apple M1 (and possible ARM PCs): unpopulated cpus map #11

@kawahwookiee

Description

@kawahwookiee

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions