Files
WickedEngine/WickedEngine
Dennis Brakhane 64c83c73a0 backlog: fix deadlock and an wi_assert logic error, add deprecation (#1001)
* When rendering the backlog, a GPU call might fail, causing
  wilog_assert to write to the backlog. This would then try
  to acquire the `entriesLock` (formerly `logLock`) but deadlock since
  the thread already holds it. Fix it by replacing SpinLock with
  std::recursive_lock.

  Reduce the time for how long the lock is held to only apply
  to when `entries` is accessed.

  Ensure we will not hang on destruction of LogWriter, even if
  the program aborts while another thread holds the entriesLock.

* wi_assert: Add parenthesis around if condition to ensure it works
  correctly in edge cases, like `i >= 0`

* add deprecation attribute to `input`, `acceptInput`, `deleteFromInput`
  so people who still reference them can remove the now pointless calls.
2025-01-07 19:12:47 +01:00
..
2023-08-11 08:36:48 +02:00
2025-01-02 17:27:36 +01:00
2025-01-02 17:27:36 +01:00
2022-07-31 19:28:41 +02:00
2024-01-04 15:10:20 +01:00
2024-12-28 12:53:25 +01:00
2024-04-28 19:07:48 +02:00
2024-08-01 09:23:07 +02:00
2023-01-16 11:35:01 +01:00
2024-03-24 08:18:51 +01:00
2025-01-02 17:27:36 +01:00
2024-01-27 13:06:47 +01:00
2022-09-14 16:06:57 +02:00
2024-07-31 20:54:32 +02:00
2024-06-07 05:59:36 +02:00
2023-07-22 10:08:07 +02:00
2023-03-25 20:28:12 +01:00
2024-10-29 08:38:31 +01:00
2025-01-05 12:11:22 +01:00
2024-07-25 18:59:46 +02:00
2024-03-22 09:16:25 +01:00
2024-03-22 09:16:25 +01:00
2025-01-02 17:27:36 +01:00
2024-07-18 17:22:20 +02:00
2025-01-02 17:27:36 +01:00
2025-01-02 17:27:36 +01:00
2024-07-19 06:56:14 +02:00
2025-01-02 17:27:36 +01:00
2025-01-02 17:27:36 +01:00
2025-01-02 17:27:36 +01:00
2025-01-02 17:27:36 +01:00
2024-10-28 07:00:21 +01:00
2025-01-02 17:27:36 +01:00
2024-12-16 09:02:30 +01:00
2025-01-02 17:27:36 +01:00
2023-03-25 20:28:12 +01:00
2023-03-25 20:28:12 +01:00
2023-10-01 17:01:39 +02:00
2025-01-02 17:27:36 +01:00
2024-05-10 07:55:27 +02:00
2024-06-08 06:14:00 +02:00
2025-01-02 17:27:36 +01:00
2024-04-11 10:07:05 +02:00
2024-07-31 07:39:29 +02:00
2025-01-02 17:27:36 +01:00
2023-10-29 17:05:41 +01:00
2024-05-19 06:52:59 +02:00
2024-08-08 18:03:17 +02:00
2024-05-27 10:00:52 +02:00
2024-08-06 06:06:25 +02:00
2024-05-20 12:23:12 +02:00
2024-12-28 12:53:25 +01:00
2024-12-29 17:07:15 +01:00
2024-11-07 09:26:13 +01:00
2025-01-02 17:27:36 +01:00
2023-10-29 09:03:43 +01:00
2024-03-11 18:01:39 +01:00
2022-08-31 10:02:22 +02:00
2023-11-30 07:17:45 +01:00
2023-04-29 15:44:06 +02:00
2024-06-07 05:59:36 +02:00