os_createmutex
static int os_createmutex(int *semid);
if (os_createmutex(&libMutex) == 0) {
os_createmutex(&(plugintable[i].pluginMutex));