When a semaphore protects a large amount of data, assuming one or more tasks USES it on a write basis, the semaphore becomes a bottleneck within the system.
在一个信号量保护大量数据时,如果一个或多个任务使用它进行写操作,这个信号量就会成为系统瓶颈。
In order to initialize the semaphore-set data structure, use the semctl system call with the IPC_SET command.
为了对信号量集数据结构进行初始化,可以使用IPC_SET命令来调用semctl系统调用。
A semaphore is to your system what a traffic signal is to an intersection: a mechanism that keeps things running smoothly.
信号量对于系统的作用就像是十字路口的信号灯:一种保持系统运行顺畅的机制。
Notice that in System V semaphores, key is used to uniquely identify the semaphore; in Windows, the semaphore is identified by a name.
注意,在Systemv信号量中,key被用来惟一标识信号量;在Windows中,信号量是使用一个名称来标识的。
This is the code used to create the System V semaphore: int semget (key_t key, int nsems, int semflg). Following are the attributes to this code.
用来创建Systemv信号量使用的代码是:intsemget (key_t key, intnsems, intsemflg)。
The specified system semaphore name was not found.
找不到指定的系统信号灯名称。
Neural network, which simulates the frame, the character and the cognizing ability of nerve element cerebrum, is a new system that can handle many kinds of information semaphore.
人工神经网络是模仿人脑神经元结构、特性和大脑认知功能而构成的新型信号、信息处理系统。
The process synchronization and process mutual exclusion and semaphore mechanism, which are emphases and difficulty in the Operating System course.
操作系统中,进程同步和互斥问题以及与之相关的信号量机制是教学过程中的重点和难点问题。
A named semaphore is system wide.
命名信号量在整个系统级都有效。
A semaphore is an operating system resource.
信号灯属于操作系统资源。
A semaphore is an operating system resource.
信号灯属于操作系统资源。
应用推荐