Quoth adr <[email protected]>: > Andrey, if you want to use different note handlers per process (with a big > number of processes) using libthread, this may be helpful. > > The idea is this: > > An array of handlers for all processes which can be changed by all processes. > When a note is received by a process, this array takes priority. > > An array of pointers to structures of the type
take a look at privalloc; I suspect a number of libthread data structures could benefit from being thread-local. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfa6823048ad90a21-Mbf51d6063d50b8c495966c35 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
