how can i achieve this behaviour?
lockhere(); // this call should not block the first thread, but any that follows. this can be achieved using a simple Lock.
if (iAmTheFirstThread)
{
...
Type: Posts; User: hamsterofdeath
how can i achieve this behaviour?
lockhere(); // this call should not block the first thread, but any that follows. this can be achieved using a simple Lock.
if (iAmTheFirstThread)
{
...