Ok I know now how to do it.
In target method here in Calibration::AddImage I need to add
Calibration::AddImage(Iplimage*, int rightLeft)
{
HANDLE g_Mutex;
DWORD dwWaitResult;
g_Mutex = CreateMutex( NULL, TRUE, "MutexToProtectCalibration");
dwWaitResult = WaitForSingleObject( g_Mutex, 5000L);
ReleaseMutex(g_Mutex))
}
this means that any synchronization need to be done in target code. That was basically explanation I was missing from articles.