rpcsx/rpcs3/Emu
Eladash 50f51be06a
Improve sys_timer_get_information (#7638)
* Improve sys_timer_get_information

* sys_timer_disconnect_event_queue sets STATE_STOP regardless of port connection status.
* sys_timer_get_information sets 0 for period and next_expire if the timer is stopped.

* Fix two minor races in lv2_timer thread

* If the timer thread is about to fire an event of queue x, then another thread disconnects the queue, then restarts the timer and connects the event queue, then the timer thread sends an event - event data combination (source, data1, data2, next) may be inaccurate.

* If the timer thread is about to send an event (periodically), then another thread stops the timer and starts it again with sys_timer_start_periodic_absolute, timer.expire in info->timer_state in sys_timer_get_information may be inaccurate.
2020-02-29 17:15:25 +03:00
..
Audio AudioBackend.cpp: Implicit enum to float conversions are deprecated 2020-02-23 09:38:04 +03:00
Cell Improve sys_timer_get_information (#7638) 2020-02-29 17:15:25 +03:00
CPU Use more starts_with 2020-02-29 13:06:14 +03:00
Io Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
Memory First part of fixing sign-compare warning (inside be_t). 2020-02-19 22:54:58 +03:00
RSX Use named_thread_group in rsx_cache.h 2020-02-29 16:55:25 +03:00
CMakeLists.txt fixed_typemap.hpp: remove <algorithm> dep in header 2020-02-28 00:04:37 +03:00
GameInfo.h Qt: Fall back to VERSION in game list 2019-08-21 07:57:44 +02:00
GDB.cpp Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
GDB.h GDB: remove wrong_checksum_exception 2019-11-08 19:27:11 +03:00
IdManager.cpp Idm: Minor assert fix 2020-02-15 10:41:15 +03:00
IdManager.h Idm: Minor assert fix 2020-02-15 10:41:15 +03:00
IPC.h Cleanup semaphore<> (sema.h) and mutex.h (shared_mutex) 2018-09-03 23:00:36 +03:00
System.cpp Implement named_thread_group 2020-02-29 16:55:25 +03:00
System.h Implement named_thread_group 2020-02-29 16:55:25 +03:00
system_config.cpp move config structs to own files and clean up some headers 2020-02-17 15:08:17 +03:00
system_config.h Restore some /dev_flash logic 2020-02-20 12:43:53 +03:00
system_config_types.cpp move enum formatters from system to config files 2020-02-17 15:08:17 +03:00
system_config_types.h move config structs to own files and clean up some headers 2020-02-17 15:08:17 +03:00
title.cpp Add more game window title options 2020-02-20 20:07:25 +01:00
title.h Add more game window title options 2020-02-20 20:07:25 +01:00
VFS.cpp fixed_typemap: implement need<> method 2020-02-26 21:23:30 +03:00
VFS.h Fix lv2_fs_object::name 2020-01-04 21:44:03 +03:00