• Adam Wujek's avatar
    arch-wrs: Print error message on multiple shmem locks · 0f620301
    Adam Wujek authored
    Commit based on the commit mentioned below from wr-switch-sw repo.
    It required to add a header wrs-msg.h to support "pr_error" function.
    "pr_error" will be printed as regular error, all other pr_* are ignored.
    
    userspace/libwr: Print error message on multiple shmem locks
    
    Print error message when shmem is locked or unlocked multiple times.
    To be precise it will print error only on even locks or unlocks.
    
    Move the increment of sequence before checking the flags to simplify further
    if-conditions.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    0f620301
Name
Last commit
Last update
..
include Loading commit data...
mini-rpc Loading commit data...
Makefile Loading commit data...
main-loop.c Loading commit data...
shmem.c Loading commit data...
util.c Loading commit data...
wrs-calibration.c Loading commit data...
wrs-io.c Loading commit data...
wrs-ipcserver.c Loading commit data...
wrs-startup.c Loading commit data...