Max Kellermann
061fcdb0a5
ext/opcache: use C11 atomics for "restart_in" ( #10276 )
...
Cheaper than fcntl(F_SETLK). The same is done already on Windows, so
if that works, why not use it everywhere? (Of course, only if the
compiler supports this C11 feature.)
As a bonus, the code in this commit also works on C++ via C++11
std::atomic, just in case somebody adds some C++ code to the opcache
extension one day.
2023-01-13 00:02:35 +01:00
..
2022-08-28 08:27:19 +02:00
2022-11-28 17:12:07 +01:00
2022-10-27 14:42:17 +01:00
2022-10-21 18:31:40 +01:00
2023-01-10 15:16:42 +00:00
2022-08-28 08:27:19 +02:00
2022-09-07 17:41:10 +02:00
2022-10-27 14:42:40 +01:00
2022-09-14 11:13:23 +02:00
2022-08-28 08:27:19 +02:00
2023-01-06 11:14:22 +01:00
2022-10-02 21:00:03 +02:00
2022-10-27 14:42:40 +01:00
2022-08-28 08:27:19 +02:00
2023-01-08 12:09:20 +01:00
2023-01-12 19:57:22 +01:00
2022-12-11 17:30:56 +01:00
2022-08-28 08:27:19 +02:00
2022-12-13 23:48:48 +00:00
2023-01-10 14:19:03 +00:00
2023-01-10 14:19:03 +00:00
2022-12-16 14:38:09 +01:00
2022-11-22 17:12:53 +00:00
2023-01-12 17:41:11 +02:00
2022-12-09 16:10:36 +01:00
2023-01-10 14:19:03 +00:00
2023-01-10 14:19:03 +00:00
2022-09-06 10:42:34 +01:00
2023-01-13 00:02:35 +01:00
2023-01-10 14:19:03 +00:00
2022-11-13 11:10:10 +01:00
2023-01-10 14:19:03 +00:00
2022-12-18 23:21:30 -07:00
2022-09-06 08:48:22 +02:00
2022-11-30 12:13:36 +01:00
2022-09-06 08:48:22 +02:00
2022-11-11 19:46:16 +01:00
2022-10-19 11:37:30 +02:00
2023-01-10 14:19:03 +00:00
2022-12-19 16:17:02 +01:00
2023-01-10 14:19:03 +00:00
2023-01-10 14:19:03 +00:00
2023-01-12 22:15:31 +00:00
2022-08-28 08:27:19 +02:00
2023-01-10 18:46:57 +01:00
2022-09-06 08:48:22 +02:00
2022-11-17 16:20:27 +01:00
2022-11-15 19:36:38 +01:00
2023-01-10 14:19:03 +00:00
2023-01-07 03:08:13 +00:00
2022-09-07 17:41:10 +02:00
2022-09-14 11:13:23 +02:00
2023-01-10 14:19:03 +00:00
2023-01-12 22:22:30 +00:00
2022-11-28 17:12:07 +01:00
2023-01-12 19:57:22 +01:00
2022-12-06 16:01:24 +01:00
2023-01-12 19:57:22 +01:00
2023-01-10 14:19:03 +00:00
2022-09-14 11:13:23 +02:00
2022-09-14 11:13:23 +02:00
2022-09-06 10:33:34 +01:00
2022-10-27 14:42:17 +01:00
2022-10-12 11:42:24 +02:00
2022-10-27 14:42:40 +01:00
2022-09-14 11:13:23 +02:00
2022-09-14 11:13:23 +02:00
2022-12-29 23:17:02 +01:00
2022-09-26 23:13:31 +02:00
2022-09-14 23:55:46 +02:00