You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently no .s file for cpu() on non-x86 architechtures. Adding support for ARM should be fairly straightforward by reading the CPU ID register, but I don't have a machine to test this on. Patches are welcome.
The text was updated successfully, but these errors were encountered:
A fallback mechanism should probably also be implemented to allow DRWMutex to use the SYS_GETCPU syscall (although it is slow) if need be. In that particular case, just returning 0 (and thus falling back to the behaviour of the regular sync.RWMutex) might be better.
There is currently no .s file for
cpu()
on non-x86 architechtures. Adding support for ARM should be fairly straightforward by reading the CPU ID register, but I don't have a machine to test this on. Patches are welcome.The text was updated successfully, but these errors were encountered: