|
Written by P. Most
|
|
The usual way to synchronize thread access to a shared resource, is by convention or agreement through comments in the source code. The obvious risk is of course that you might forget or overlook this important hint, with the usual consequences of a corrupt or invalid data state. So how can we make sure that accessing a shared resource is synchronized?
|
|
Last Updated on Tuesday, 30 August 2011 18:16 |