• To signal an event, semop is used with sem_op value as 1.

    将某个事件的状态修改为有信号状态,可以使用semop,并将sem_op的设置1

    youdao

  • If sem_op is set to 0, semop will wait for semval to become 0.

    如果sem_op被设置0那么semop等待semval变成0。

    youdao

  • After using the Shared resource, the semaphore count can be set to 1 by using semop .

    使用共享资源之后,可以使用semop信号计数设置1

    youdao

  • To wait on an event, semop() function is used with sem_op value as -1 thus blocking the calling process until it is signaled.

    等待某个事件,则可以使用 semop()函数,并将 sem_op 的设置-1这样就可以阻塞调用进程直到变为有信号状态为止。

    youdao

  • The function semop performs a set of operations contained in sops atomically (all operations performed at the same time only if they can be performed at the same time).

    函数semop原子地执行sops包含操作(所有操作都可以同时成功执行时,才会将所有的操作同时一执行完)。

    youdao

  • The function semop performs a set of operations contained in sops atomically (all operations performed at the same time only if they can be performed at the same time).

    函数semop原子地执行sops包含操作(所有操作都可以同时成功执行时,才会将所有的操作同时一执行完)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定