Todor Atanasov
2013-06-17 04:23:17 UTC
Hy Everyone,
I have two threads calling two different classes.
I have defined two CArrays as extern so both classes can access them. I have also created two CCriticalSection as extern to lock each array during write/read in the two classes.
Is this a correct way to do things?
I have two threads calling two different classes.
I have defined two CArrays as extern so both classes can access them. I have also created two CCriticalSection as extern to lock each array during write/read in the two classes.
Is this a correct way to do things?