userspace/wrsw_hal: assign hal version before releasing the lock
It might happen that the reader of shmem ignores the lock, but at least shall
check the version of HAL. When it is not 0 then we can be sure HAL's shmem
is initialized. However, don't relay on this behaviour.
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment