userspace: fix waiting for lock in shmem
Change waiting for shm lock. Until now, after read attempt there was
usleep/sleep then check if data was read correctly. Now wait in sleep/usleep
only on not consistent data read.
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment