[iossink/osxsink] - fixed - condvar has to wait on the mutex - not on the
singlelock