signalwire/libks

Remove functions that depend on thread locals

Astaelan opened this issue · 0 comments

Remove or change any functions that depend on thread locals, such as ks_thr_sprintf which is not only unsafe but with thread locals can create all kinds of unintended side effects (as was seen in some libs like signalwire-c). Thread locals do not save CPU or memory in a tangible way given modern allocators.