In C++, even a thread is not thread-safe (or: why you should use tasks part 2)
Consider the following (contrived) code:
Consider the following (contrived) code:
I recently encountered an interesting crash in our iOS application at work. Here’s the relevant stack trace section:
The C++ Concurrency runtime (AKA PPLX) is the unmanaged answer to the Task Parallel Library (TPL), and it works surprisingly well. It is even cross platform ...