semaphore

英 [ˈseməfɔː(r)] 美 [ˈseməfɔːr]

n.  信号标; 旗语
v.  打旗语; (用其他类似的信号系统)发信号

复数:semaphores现在分词:semaphoring过去分词:semaphored过去式:semaphored第三人称单数:semaphores

计算机

BNC.25064 / COCA.31211



牛津词典

noun

  1. 信号标;旗语
    a system for sending signals in which you hold your arms or two flags in particular positions to represent different letters of the alphabet

    verb

    1. 打旗语;(用其他类似的信号系统)发信号
      to send a message to sb by semaphore or a similar system of signals

      柯林斯词典

      1. 旗语
        Semaphore is a system of sending messages by using two flags. You hold a flag in each hand and move your arms to various positions representing different letters of the alphabet.

        双语例句

        1. Usually, the main use of a semaphore is to synchronize a thread? s action with other threads.
          通常,信号的主要用途是同步某个线程与其他线程的动作。
        2. For example, all shared memory and semaphore settings are now handled via resource controls.
          例如,现在通过资源控制处理所有共享内存和信号量。
        3. In Linux, sem_post() is used to release semaphore.
          在Linux中,我们使用sempost()来释放信号量。
        4. This is used by some of the architecture-dependent semaphore functions in the kernel.
          这被内核中一些依赖于架构的信号量函数使用。
        5. This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.
          这个函数使用一个信号量对象的句柄作为参数,并会一直等待下去,直到其状态变为有信号状态或超时为止。
        6. This wakes up any of the threads blocked on the semaphore.
          这将唤醒阻塞于此信号的所有线程。
        7. This is used to achieve the functionality of a Windows named semaphore.
          可以用它来实现与Windows中有名信号量相同的功能。
        8. Linux POSIX semaphores use sem_wait() to suspend the calling thread until the semaphore has a non-zero count.
          LinuxPOSIX信号使用semwait()来挂起发出调用的线程,直到信号拥有了非零的计数值。
        9. This function suspends the calling thread until the semaphore has a non-zero count.
          这个函数会挂起调用线程,直到这个信号量有一个非空计数为止。
        10. Remember that the timeout option is not available in System V semaphore.
          记住,超时操作在SystemV信号量中并不适用。
        11. If this is null, the semaphore cannot be inherited.
          如果这个指针为空,那么这个信号量就不能被继承。
        12. If constant semaphore problems appear on the server console, check whether or not the tasks'schedule is conflicting.
          如果常量信号量问题出现在服务器控制台上,那么检查任务的安排是否冲突。
        13. Nsems and flags can be0 to open an already existing semaphore.
          为了打开一个已经存在的信号量,可以将nsems和标记设置为0。
        14. To achieve functionality of named event objects in Linux, System V semaphore or signals can be used.
          为了在Linux实现与Windows中有名事件对象相同的功能,可以使用SystemV信号量或信号。
        15. This method is called to wait for an event completion on the indicated semaphore, with a specified time.
          调用这个方法来等待所需要信号上某个事件的完成,等待指定的一段时间。
        16. In Linux, the named event objects functionality between processes can be achieved by using a System V semaphore.
          在Linux中,进程之间有名事件对象所实现的功能可以使用SystemV信号量实现。
        17. After using the shared resource, the semaphore count can be set to1 by using semop().
          在使用完共享资源之后,可以使用semop()将信号量计数设置为1。
        18. The parameter can be NULL if the previous semaphore count value is not required.
          如果并没有请求上一个信号量计数器的值,那么这个参数可以是NULL。
        19. The timeout option is not available in the POSIX semaphore.
          在POSIX信号中不能使用超时选项。
        20. In Linux, the POSIX semaphore implementation only supports indefinite wait ( blocking).
          在Linux中,POSIX信号实现只支持不确定的等待(阻塞)。
        21. In Linux, sem_wait() is used to acquire the semaphore access.
          在Linux中,semwait()用来获取对信号量的访问。
        22. If this is NULL, the semaphore is shared only between the threads of the same process.
          如果该值为NULL,那么这个信号量就只能在相同进程的不同线程之间共享。
        23. A semaphore can be owned by setting the initial count of the semaphore to0 using semctl().
          可以通过使用semctl()将信号量计数器的初始值设置为0来获得信号量。
        24. This function returns the semaphore set identifier associated with the argument key.
          这个函数返回一个信号量集标识符,它与一个参数的键值关联在一起。
        25. This is a "wait-for-zero" operation and can be used to acquire a semaphore.
          这是一个“等待为0”的操作,可以用它来获取信号量。
        26. The definition of a shared memory and process shared data structure and built-in semaphore support.
          有一个共享的内存定义和进程共享数据结构和内置的信号量的支持。
        27. Mutual exclusion can be achieved with the use of a semaphore or mutex.
          互斥现象能由使用信号灯或互斥完成。
        28. The specified system semaphore name was not found.
          找不到指定的系统信号灯名称。
        29. Single-valued semaphore can only be one thread access, and multi-valued semaphore can be a number of threads available.
          单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。
        30. Console messages track semaphore use.
          控制台消息对信号量的使用进行跟踪。

        英英释义

        noun

        1. an apparatus for visual signaling with lights or mechanically moving arms

          verb

          1. convey by semaphore, of information

            1. send signals by or as if by semaphore