3 ms·
The threading section has a reasonable warning sign before the tiger… All threads can read and write to all memory within that process. This is extremely dange
by jws 8y ago
The threading section has a reasonable warning sign before the tiger…
All threads can read and write to all memory within that process. This is extremely dangerous, so avoid threading until you have fairly well mastered C without threads.
If you must use threads, even if you are experienced, sticking to a model where threads share as little data as possible and very carefully hand off data from one thread to another and then never touch it again is far safer.