public int sceKernelPollSema(int semaid,int signal){
  if (signal <= 0) {
    log.warn(String.format("sceKernelPollSema id=0x%X, signal=%d: bad signal",semaid,signal));
    return ERROR_KERNEL_ILLEGAL_COUNT;
  }
  SceKernelSemaInfo sema=semaMap.get(semaid);
  return hleKernelPollSema(sema,signal);
}

public int sceKernelPollSema ( int semaid , int signal ) { if ( signal <= 0 ) { log . warn ( String . format ( "sceKernelPollSema id=0x%X, signal=%d: bad signal" , semaid , signal ) ) ; return ERROR_KERNEL_ILLEGAL_COUNT ; } SceKernelSemaInfo sema = semaMap . get ( semaid ) ; return hleKernelPollSema ( sema , signal ) ; }
this is attempt to signal the sema and always return immediately
