[Input System] xe_mutex revert
On request from chrisps, revert xe_mutex back to xe_unlikely_mutex to avoid mutex deadlocks while initializing hid-winkey.
This commit is contained in:
@@ -137,8 +137,8 @@ X_INPUT_VIBRATION InputSystem::ModifyVibrationLevel(
|
||||
modified_vibration.right_motor_speed = 0;
|
||||
return modified_vibration;
|
||||
}
|
||||
std::unique_lock<xe_mutex> InputSystem::lock() {
|
||||
return std::unique_lock<xe_mutex>{lock_};
|
||||
std::unique_lock<xe_unlikely_mutex> InputSystem::lock() {
|
||||
return std::unique_lock<xe_unlikely_mutex>{lock_};
|
||||
}
|
||||
} // namespace hid
|
||||
} // namespace xe
|
||||
|
||||
Reference in New Issue
Block a user