2 ms·
You want libc to start a thread whenever it is loaded?
by NewJazz 1y ago
You want libc to start a thread whenever it is loaded?
- Someone 1y agoIf it’s the only alternative to being broken: yes. It could read and parse the file the first time a thread gets created, too. A cheaper alternative is to check the modification time of the config file, and only reparse it in pthread_cancel when that changes. That doesn’t 10% fix the problem in theory, but would do it in practice.