當前位置:國文幫>造句>

“mutex”寫句子,用mutex造句

造句 閱讀(2.16W)

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

8、The problem with a mutex-based approach.

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

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.

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

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

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.

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.

3、Why mutex at all?

9、Main thread: Lock mutex and increment threadcount.

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

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

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

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

35、如果線程2要執行,它就要鎖定count _ mutex,而這個互斥量已經被線程1佔有了。

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

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

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

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

33、緩衝區的獲取是透過使用鎖存器(latch)和鎖訪問資訊來管理的,該鎖存器稱作 mutex

mutex造句

2、Also called a 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.

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

31、這個例程做了一些新的工作;它鎖定一個叫做count _ mutex的互斥量。

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

17、Listing 3 illustrates a static way of setting a 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.

7、有一些POSIX服務可用於鎖定pthread _ mutex和爲pthread _ mutex解鎖。

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

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

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

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.

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

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

37、另外一些可選的原始同步對象就是Monitor或mutex去確保所有將來的事件被排隊直到當前的事件處理函數執行完成。

34、如果線程1要執行,它就要鎖定rand _ mutex,可是這個互斥量已經被線程2阻塞了。