• Value (semaphore count) is the initial value of the semaphore.

    value(信号计数器)这个信号量初始

    youdao

  • This function suspends the calling thread until the semaphore has a non-zero count.

    这个函数会挂调用线程直到这个信号量一个计数为止。

    youdao

  • Then it atomically decreases the semaphore count.

    然后自动地减少信号的计数值。

    youdao

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

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

    youdao

  • A semaphore can be owned by setting the initial count of the semaphore to 0 using semctl .

    可以通过使用semctl将信号量计数器初始设置0来获得信号量。

    youdao

  • Linux POSIX semaphores use sem_wait to suspend the calling thread until the semaphore has a non-zero count.

    LinuxPOSIX信号使用sem_wait起发出调用线程直到信号拥有了非零的计数值。

    youdao

  • Linux USES the pthread_condition_init call to create a semaphore object within the current process that maintains a count between zero and a maximum value.

    Linux使用pthread_condition_init调用当前进程创建信号对象,在其中维持一个最大值之间的计数值。

    youdao

  • LpPreviousCount is the pointer to the variable where the previous semaphore count is returned.

    lpPreviousCount指向上一个信号量计数器返回时变量指针

    youdao

  • When the count reaches zero, the state of the semaphore object becomes non-signaled.

    计数值成为零时,信号对象状态成为non - signaled。

    youdao

  • This call also initializes the semaphore count: int sem_init(sem_t *sem, int pshared, unsigned int value). In this code

    信号量计数器进行初始化:intsem_init(sem_t *sem, intpshared,unsigned intvalue)。

    youdao

  • LMaximumCount is the maximum count of the semaphore and must be greater than zero.

    lMaximumCount信号最大值,该值必须大于0

    youdao

  • Exits the semaphore a specified number of times and returns the previous count.

    指定次数退出信号返回个计数。

    youdao

  • Exits the semaphore a specified number of times and returns the previous count.

    指定次数退出信号返回个计数。

    youdao

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

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

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