Commit a89c000c authored by Claes Sjofors's avatar Claes Sjofors

NMps lock, posix semaphor removed

parent 38e5f22b
......@@ -88,7 +88,8 @@ void nmps_delete_lock( pwr_tStatus *sts)
printf( "Detach of nmps lock failed\n");
if ( shmctl(shm_id, IPC_RMID, &ds) == -1)
printf( "Remove of nmps lock failed\n");
unlink(segname);
// unlink(segname);
posix_sem_unlink(segname);
sect_Free( sts, nmps_locksect);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment