What are the tradeoffs b/w boost::thread
, std::thread
(C++11), and pthread
for high CPU throughput (read: lots of floating point operations) Linux based applications? When should one implementation be used over the others?
The use case here is to call a routine on a buffer (or pointer to a buffer) of contiguous memory, do some work, and return -- in a multithreaded implementation.
Aucun commentaire:
Enregistrer un commentaire