|
|
@@ -48,9 +48,9 @@ public:
|
|
|
expected_value, std::move(func));
|
|
|
}
|
|
|
|
|
|
- void DeregisterGuestAction(u32 syncpoint_id, ActionHandle& handle);
|
|
|
+ void DeregisterGuestAction(u32 syncpoint_id, const ActionHandle& handle);
|
|
|
|
|
|
- void DeregisterHostAction(u32 syncpoint_id, ActionHandle& handle);
|
|
|
+ void DeregisterHostAction(u32 syncpoint_id, const ActionHandle& handle);
|
|
|
|
|
|
void IncrementGuest(u32 syncpoint_id);
|
|
|
|
|
|
@@ -76,7 +76,7 @@ private:
|
|
|
std::list<RegisteredAction>& action_storage, u32 expected_value,
|
|
|
std::function<void()>&& action);
|
|
|
|
|
|
- void DeregisterAction(std::list<RegisteredAction>& action_storage, ActionHandle& handle);
|
|
|
+ void DeregisterAction(std::list<RegisteredAction>& action_storage, const ActionHandle& handle);
|
|
|
|
|
|
void Wait(std::atomic<u32>& syncpoint, std::condition_variable& wait_cv, u32 expected_value);
|
|
|
|