SchulzCode
ff5706c28b
Cache the thread id per thread on Linux
...
plat_thread_id() made a gettid syscall on every call, about 700,000 times a second in the open world (plat_rmutex_lock
asks on every acquire). A thread's id never changes and the runtime does not fork, so the first call on each thread
keeps it in a thread-local. noinline keeps a caller from reusing the thread-local's address across a fiber switch,
since a fiber may resume on another thread. Fixes #236 .
2026-10-31 16:03:42 +01:00
..
2026-10-31 16:03:42 +01:00
2026-10-31 07:27:46 +03:00
2026-10-23 23:54:57 +03:00
2026-10-31 13:31:39 +03:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:34:59 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 14:23:58 +03:00
2026-10-29 18:14:30 -03:00
2026-10-28 20:05:44 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 02:05:21 -03:00
2026-10-31 13:26:42 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-29 16:56:56 -03:00
2026-10-24 10:41:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 14:55:55 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 18:14:30 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 22:32:40 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:51:03 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 07:25:27 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 18:14:30 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 02:03:34 -03:00
2026-10-27 15:21:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-31 14:23:58 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 14:23:58 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-28 12:25:25 +03:00
2026-10-28 12:25:25 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 17:29:31 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 17:29:31 -03:00
2026-10-31 07:27:46 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 16:48:02 +03:00
2026-10-31 13:31:39 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-30 19:48:38 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-30 14:55:55 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00