3 ms·
Don't blame C for the pain of using Pthreads. Pthreads is a low-level, fiddly library for shared-memory concurrency. Sometimes it's necessary, but often there
by username223 10y ago
Don't blame C for the pain of using Pthreads. Pthreads is a low-level, fiddly library for shared-memory concurrency. Sometimes it's necessary, but often there's an easier model for using multiple cores (data parallelism via OpenMP) or dealing with asynchronous events (some sort of message-passing).