On Tue Apr 29 14:39:42 2025 +0000, Rémi Bernon wrote:
How about allocating and using only one array of HANDLE instead of having to handle allocation failures twice? sizeof(HANDLE) >= sizeof(obj_handle_t) so you can fill it with obj_handle_t and fix them up before waiting by moving them inline backwards.
I had thought of something along those lines but I was unsure if it was appropriate. Done now :slight_smile: