“What’s the best way to process a pool of work?” is a recurring question. As usual, the answer is “it depends” because the optimal answer often depends on both the characteristics of the work itself and the constraints imposed by run-time system resources.
For example, I recently received the following email from reader Sören Meyer-Eppler, where [...]
Archive for September, 2009
“What’s the Best Way To Process a Pool of Work?”
Posted in Concurrency on September 28, 2009 | 14 Comments »
When is a zero-length array okay?
Posted in C++ on September 2, 2009 | 6 Comments »
I just received a reader email that asked about GotW #42:
You write "Non-Problem: Zero-Length Arrays Are Okay", but both 14882:2003 and N2914 "[dcl.array]" say "If the constant-expression (5.19) is present, it shall be an integral constant expression and its value shall be greater than zero.". Shall we assume that you overrule the standard? :-) Or [...]