commit | 9a80e57890f887afd60e0b019d1c6698351fd470 | [log] [tgz] |
---|---|---|
author | Antonin Décimo <antonin@tarides.com> | Fri Jan 26 15:23:15 2024 +0100 |
committer | Martin Storsjö <martin@martin.st> | Thu Feb 08 23:13:14 2024 +0200 |
tree | e0eaf18acc848f14deda83633c19c3cd47c3f4c3 | |
parent | ad2b46ca1e603872f62f83eaaff9e5ef77c99500 [diff] |
winpthreads: Use YieldProcessor in pthread_spin_lock Use YieldProcessor which already has the best definition for all MSVC and MinGW supported architectures of the memory pause / yield instruction. Signed-off-by: Antonin Décimo <antonin@tarides.com> Signed-off-by: Martin Storsjö <martin@martin.st>