Marian Buschsieweke
f0540a9000
sys/event: manage event thread size via build system
...
This adds a mechanism for modules to declare requirements on the thread
stack size in their `Makefile.dep` and let the build system then
override the default stack size, if any requirements are declared.
The motivation is to allow multiple modules to have special requirements
without causing conflicts, as just adding the following to their
`Makefile.include` would do:
```Makefile
CFLAGS += -DEVENT_THREAD_MEDIUM_STACKSIZE=<MAGIC_NUMBER>
```
Instead, the new mechanism would work by having them both declare in
their `Makefile.dep`:
```Makefile
EVENT_THREAD_MEDIUM_STACKSIZE_MIN +=
```
The build system then picks the maximum number in
`EVENT_THREAD_MEDIUM_STACKSIZE_MIN` and exposes this as stack size, if
any module did declare a minimum requirement.
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-12-09 13:50:56 +01:00
..
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-12-05 16:23:05 +01:00
2025-10-30 23:51:31 +01:00
2024-03-26 14:54:22 +01:00
2025-04-25 18:48:18 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-10-06 18:14:25 +02:00
2024-03-26 14:54:22 +01:00
2025-06-16 16:18:50 +02:00
2025-01-29 11:54:08 +01:00
2025-05-16 19:40:06 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2025-04-04 11:44:53 +02:00
2024-03-26 14:54:22 +01:00
2025-05-21 22:51:04 +02:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2025-04-07 15:59:13 +02:00
2024-03-26 14:54:22 +01:00
2025-05-16 19:40:06 +02:00
2024-03-27 10:28:12 +01:00
2025-12-09 13:50:56 +01:00
2024-11-22 21:14:02 +01:00
2025-04-08 15:03:58 +02:00
2025-04-27 22:49:22 +02:00
2024-03-26 14:54:22 +01:00
2025-05-21 22:51:04 +02:00
2022-12-19 13:03:45 +01:00
2025-07-29 17:52:01 +02:00
2025-12-09 13:50:56 +01:00
2024-03-26 14:54:22 +01:00
2025-04-08 20:17:04 -04:00
2025-05-16 19:40:06 +02:00
2025-05-21 22:51:04 +02:00
2025-05-21 22:51:04 +02:00
2024-10-28 14:51:44 +01:00
2025-03-19 13:24:42 +07:00
2025-04-08 14:49:04 +02:00
2024-10-09 22:23:40 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-12-05 18:44:58 +01:00
2025-08-21 12:08:10 +02:00
2024-03-26 14:54:22 +01:00
2025-05-21 22:51:04 +02:00
2024-04-04 11:24:04 +00:00
2025-04-27 22:59:33 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-05-21 22:51:04 +02:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-05-31 19:54:10 +02:00
2025-11-10 09:14:37 +01:00
2023-06-15 10:24:54 +02:00
2025-04-04 11:44:53 +02:00
2024-02-28 11:49:05 +01:00
2024-12-18 22:08:32 +01:00
2024-03-27 16:39:56 +00:00
2025-11-11 09:38:34 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-05-21 22:51:04 +02:00
2024-03-26 14:54:22 +01:00
2025-11-16 11:31:17 +01:00
2025-05-24 18:28:23 +02:00
2024-02-28 11:49:05 +01:00
2024-03-26 14:54:22 +01:00
2025-05-01 11:54:15 +02:00
2024-12-21 20:57:23 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:31:21 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2025-11-24 19:47:19 +01:00
2025-09-11 11:37:45 +02:00
2024-03-26 14:54:22 +01:00
2025-01-24 12:05:00 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-11-07 15:55:00 +01:00
2023-12-21 12:02:19 +01:00
2024-03-26 14:54:22 +01:00
2025-11-24 19:21:23 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2025-04-08 15:14:23 +02:00
2024-05-15 11:20:38 +02:00
2024-03-26 14:54:22 +01:00
2025-07-15 11:38:37 +02:00
2024-05-24 19:19:40 +02:00
2023-02-27 15:09:08 +01:00
2025-01-29 20:51:23 +01:00
2025-09-11 19:16:03 +02:00
2025-08-21 16:23:56 +00:00
2025-12-09 13:50:56 +01:00