Adding os_waitqueue_wakeup_sync and os_sem_up_sync.
Thise calls will not call schedule if sync parameter is set. This allows to
remove unnecessary tread switch if current task has some more job to do righ
after signaling and we whant to keep CPU for curent thread. This is usefull if
for instance next code will call some other os function which will schedule()
anyway.