不过,如果程序不使用gethostbyname或者任何其他在同一对象中返回信息的函数,或者如果它每次使用时都会阻塞信号,那么就是安全的。
However, if the program does not use gethostbyname or any other function that returns information in the same object, or if it always blocks signals around each use, you're safe.
有一个特殊的信号SIGKILL 是无法被阻塞或捕捉的,它会立即终止某个进程。
One special signal, SIGKILL, can't be blocked or caught, and it kills a process immediately.
GPS信号相对较弱,也易于阻塞。
从消除信号阻塞到进程执行下一个指令之间,必然会有时钟周期间隙,任何在此时间窗口发生的信号都会丢掉。
There has to be some gap of clock cycles between the unblocking of signals and the next instruction carried by the process, and any occurrence of a signal in this window of time is lost.
一些信号可以被某个进程阻塞,应用程序可以通过设计,显式地“捕捉(catch)”信号,并以一种特殊的方式对每个事件作出反应。
Some signals can be blocked by a process, and applications can be designed to explicitly "catch" signals and react to each event in a special way.
在这种情况下,接收SIGPIPE信号,或如果该信号阻塞,write函数将返回- 1并设置errno为epipe。
In this case, you'll receive a SIGPIPE signal or, if this signal is blocked, the write function will return a -1 and set errno to EPIPE.
这会唤醒对这个信号量进行阻塞的所有线程。
对事件对象调用的等待函数会阻塞调用线程,直到其状态被设置为有信号状态为止。
The wait function on the event object blocks the calling thread until its state is set to signaled state.
例如,如果不释放锁(相当于一直持有信号量),就会导致阻塞问题。
For example, if you are not releasing the lock (equivalent to holding a semaphore), you will create your own blockage problem.
当在一个等待函数中使用同步对象时,等待函数就会阻塞调用线程,直到同步对象的状态被设置为有信号为止。
When the synchronization object is used in one of the wait functions, the wait function blocks the calling thread until the state of the synchronized object is set to signaled.
写进程排队等待访问这个数据结构,在这个信号量可用之前会一直阻塞。
The writer process (es) lines up to access the data structure, and is held back until the semaphore is made available.
你汽车上与绕轨道运行的卫星发出的无线电信号调谐的传感器能随时精确地确定你汽车的方位,并告知交通阻塞情况。
Sensors in your car tuned to radio signals from orbiting satellites can locate your car precisely at any moment and warn of traffic jams.
如果多个线程在完成上面的初始调用后尝试锁定信号量,则这些线程会被阻塞,它们的请求进入队列,直到执行pthread _ mutex_unlock调用。
If multiple threads attempt to lock a semaphore after the initial call above, they block and their requests are queued until the pthread_mutex_unlock call is performed.
为了处理该问题,pseudo在启动包装器时阻塞某些信号,并在包装器结束时解除阻塞。
To handle this, pseudo blocks certain signals when starting a wrapper, and unblocks them at the end of the wrapper.
如果信号的值从零开始增加,而且pthread_cond中有任何线程被阻塞,那么请等待这个信号,因为其中一个会被唤醒。
If the semaphore value is incremented from zero and there is any threads blocked in the pthread_cond, wait for the semaphore because one of them is awakened.
要等待某个事件,则可以使用 semop()函数,并将 sem_op 的值设置为-1,这样就可以阻塞调用进程,直到它变为有信号状态为止。
To wait on an event, semop() function is used with sem_op value as -1 thus blocking the calling process until it is signaled.
该模型具有既能够进行交通控制信号优化与交通阻塞机理解析应用,又便于计算机软件实现的优点。
Thess models have advantages to carry on the traffic control signal optimization and the traffic jam mechanism analysis. Furthermore, it is easily for the computer software realization.
肉毒素,A型肉毒杆菌的商业名称,是一类由梭菌肉毒素所产生的神经毒素,能阻塞安排肌肉活动的神经信号。
Botox, the commercial name of botulinum toxin type a, is a neurotoxin produced by Clostridium botulinum. It can block the signals that make your muscles move.
这就暂时阻塞了通过神经传递到肌肉或传递回大脑的信号。
This temporarily blocks signals that pass through the nerves to the muscles of the body and back to the brain.
视频点播服务质量可参照话音服务,按信号阻塞或服务无效性来表示。
VOD service quality can, as for telephony, be expressed in terms of blocking or service unavailability.
压力微分开关对过滤器的状态进行监测,当超过设定值时,就会向开关发出一个“过滤器阻塞”的信号,在计算机上的指示灯就会发亮。
Pressure differential switch monitors the status of the filter, when the set point is exceeded, a signal will be given to switch on "filter clogged" indicating lamp on the computer.
实现邻道双工通信,即消除本地发射机对接收机所产生的强信号阻塞干扰,是无线通信领域急待解决并有着十分重要意义的问题。
It is very important problem to achieve adjacent channel duplex in radio communication, that result in to eliminate the large signal blocking interference from local transmitter in reciever.
死循环中一般包括阻塞或等待一个信号量。
The endless loop typically involves blocking, or waiting, on a semaphore .
合理的信道化码资源管理策略设计可以提高3g系统的吞吐量、降低用户的呼叫阻塞率和降低信号的峰平功率比。
Channelization code management can increase the throughput, decrease the blocking probability of call setup requests, and reduce the signal Peak to Average Power Ratio (PAPR) in 3g systems.
后两种方式实际上被定时器结构或者消息结构内置的信号量给阻塞了。
These last two items actually block on a semaphore embedded in the timer or message data structure.
下面是一个简单的例子。这是一个任务简单地阻塞于一段定时之后发送一个信号量。
Below is a simple example of a task that simply blocks on a timer and signals a semaphore.
在长时间停车时关闭引擎,比如等待信号灯时,在铁路平交道口时,或者交通阻塞时。
Switch off the engine when stopping for lengthy period, e. g. at traffic lights, railroad crossings or in traffic congestions.
提出了一种可以无阻塞地传输其输入与输出间任意多播信号的新型自路由无阻塞多级网。
A design for a new self-routing multicast network which can realize arbitrary multicast assignments between its inputs and outputs without any blocking was proposed.
患MS的人,当神经信号传输到受损的地方时,一些信号被阻塞或者延迟。
In people with MS, when nerve signals reach a damaged area, some of the signals are blocked or delayed from traveling to or from the brain.
患MS的人,当神经信号传输到受损的地方时,一些信号被阻塞或者延迟。
In people with MS, when nerve signals reach a damaged area, some of the signals are blocked or delayed from traveling to or from the brain.
应用推荐