mutex造句

3、Why mutex at all?

6、When publishing its data, it would acquire a mutex, do writes to the bus, and release the mutex.

9、Main thread: Lock mutex and increment threadcount.

12、This method allows you to set mutex object attributes.

15、All threads that go to sleep from calling pthread_mutex_lock on an already-locked mutex will "queue up" for access to that mutex.

18、The function returns when the mutex is locked, or if an error occurred.

21、Its effective usage can achieve multithread synchronization and mutex to ensure program running correctly.

24、A thread holding a mutex can be de-scheduled, perhaps because it was the end of its time-slice.

27、When the original file handle is closed, the mutex handle is closed and the protections against data corruption are lost.

30、This routine is called twice-before and after mutex acquisition-to determine whether further processing is required based on the time elapsed.

33、缓冲区的获取是通过使用锁存器(latch)和锁访问信息来管理的,该锁存器称作 mutex

36、In VAX/VMS, a semaphore that is used to control exclusive access to a region of code that can share a data structure or other resource. The mutex (mutual exclusion) semaphore ensures that only one process at a time has access to the region of code.

mutex造句

2、Also called a mutex.

7、有一些POSIX服务可用于锁定pthread _ mutex和为pthread _ mutex解锁。

11、Using a mutex ensures that this doesn't happen.

16、HHandle is the pointer to the mutex handle.

20、When invoked, pthread_cond_wait unlocks the mutex and then pauses execution of its thread.

25、After locking that, it creates a new thread and increments threadcount; after it's done, it unlocks the mutex.

29、Because you're sharing the same mutex for push and pop operations, the data-read speed is somewhat compromised as writer threads access the lock.

34、如果线程1要运行,它就要锁定rand _ mutex,可是这个互斥量已经被线程2阻塞了。

1、If Program a creates a mutex, Program B can see that same mutex.

8、The problem with a mutex-based approach.

14、After a mutex is locked, it must be unlocked.

22、The theory of displaying bitmap and the method of creating mutex are also expounded.

28、ReleaseMutex is called when the owning thread no longer needs the mutex, and it can be conveniently released to the system.

35、如果线程2要运行,它就要锁定count _ mutex,而这个互斥量已经被线程1占有了。

5、Only one task may hold the mutex at a time, and only this task can unlock the mutex.

17、Listing 3 illustrates a static way of setting a mutex.

26、You should always unlock a mutex that you've locked as soon as safely possible (to increase performance).

37、另外一些可选的原始同步对象就是Monitor或mutex去确保所有将来的事件被排队直到当前的事件处理函数执行完成。

13、With the priority ceiling Protocol (PCP) method each mutex has a defined priority ceiling, set to that of the highest priority task which USES the mutex.

31、这个例程做了一些新的工作;它锁定一个叫做count _ mutex的互斥量。

10、However with a PCP mutex, both the ADC and DAC mutex will have a ceiling priority equal to the SI's task priority.

32、Most programmers know that the synchronized keyword enforces a mutex (mutual exclusion) that prevents more than one thread at a time from entering a synchronized block protected by a given monitor.

23、Based on priority inheritance protocol, a muti thread mutex algorithm is presented, which can prevent deadlock and priority inversion.

4、The mutex API provides five functions: three are used for locking, one for unlocking, and another for testing a mutex.

19、In either case, when control is returned, the caller holds the mutex.