ReinUsesLisp b9a9b83bee kernel: Implement host thread register methods without locking
Locks on GetCurrentHostThreadID were causing performance issues
according to Visual Studio's profiler. It was consuming twice the time
as arm_interface.Run(). The cost was not in the function itself but in
the lockinig it required.

Reimplement these functions using atomics and static storage instead of
an unordered_map. This is a side effect to avoid locking and using linked
lists for reads.

Replace unordered_map with a linear search.
2020-10-13 18:00:25 -03:00
..
2020-06-27 11:36:05 -04:00
2020-07-16 13:51:51 -04:00
2020-06-27 11:36:14 -04:00
2020-06-27 11:36:14 -04:00
2020-06-27 18:20:06 -04:00
2020-02-13 19:10:33 -04:00