4 ms·
Someone should be very embarrassed about how they have handled this whole process. Surely code to operate condition variables correctly is in the public domain
by ncmncm 4y ago
Someone should be very embarrassed about how they have handled this whole process.
Surely code to operate condition variables correctly is in the public domain, that does not involve mitigations or stolen signals.
- gpderetta 4y agoIs there? There are multiple papers describing cond vars implementations. Many have been found to have errors after years. I'm sure the BSDs have posix cond vars implementations, but they won't use futexes but some BSD specific signalling primitive, and will likely have different scalability profiles than the one in gilibc, which has been tuned mostly for the needs of Red Hat, Oracle and other big Linux vendors.