os_create_semaphore
ret = os_create_semaphore("scan_lock", 1, &softs->scan_lock);
int os_create_semaphore(const char *, int,struct sema *);