CHERIoT-Platform/cheriot-rtos
View on GitHubFactor out C++ type-indexed virtual sealing type machinery
Open
#694 opened on Apr 28, 2026
good first issue
Repository metrics
- Stars
- (163 stars)
- PR merge metrics
- (PR metrics pending)
Description
The thread pool library has some cute machinery for getting a per-compartment, private, dynamic virtual sealing type per C++ type it (statically) encounters, the core of which is https://github.com/CHERIoT-Platform/cheriot-rtos/blob/30399a22802d5ab63bb56092d333c6d6184e3b59/sdk/include/thread_pool.h#L70-L79 It'd be nice to make that available more generically and to convert it to use static virtual sealing types (since these are never going to be destroyed, and we can avoid the overheads of lazy initialization if we make the loader do the work instead).