IRC channel logs
2024-07-11.log
back to list of logs
<etno>Hi! I am investigating a crash during the build/testing of lua-luv, and it is due to sched_get_priority*() and pthread_setschedparam() being unimplemented. What is the correct approach here : consider that API consumers have to handle the lack of support ? Or implement a stub in libc with policy=0, prio_min=0, prio_max=0 ? <solid_black>etno: yes, consumers should check whether the APIs exist as non-stubs <solid_black>the appropriate ways to check for function precense in (at least) autotools and Meson already handle stubs <etno>solid_black: thanks. Since libuv is basically providing a cross-platform wrapper for threads mgmt, I doubt I can change the contract between libuv and its users. I may be able to create a stub implementation in libuv though. Let's try this.