queue thread 中文意思是什麼
queue thread
解釋
隊列線索-
Method. it also moves the thread to the ready queue, bypassing other threads ahead of it in the wait queue, so that it can reacquire the lock sooner
它還會跳過等待隊列中排在前面的其他線程,將此線程移動至就緒隊列,以便它可以盡早地重新獲取鎖。 -
Reads messages synchronously from the queue, overloads of the method do support specifying a time - out in order to prevent the thread from waiting indefinitely. the
類似)從隊列同步讀取消息,所以該方法的重載確實支持指定超時功能,以防止線程無限期等待。 -
Is sent, only the thread at the head of the waiting queue is affected
,則隻影響位於等待隊列最前面的線程。 -
Notifies a thread in the waiting queue of a change in the locked object s state
通知等待隊列中的線程鎖定對象狀態的更改。 -
The thread that invoked wait remains in the waiting queue until either a thread that holds the lock invokes
的線程保留在等待隊列中,直到擁有鎖的線程調用 -
One thread produces elements and stores them in a generic queue that is not thread - safe
一個線程生成元素並將它們存儲在非線程安全的泛型隊列中。 -
Many applications use threads to provide background services - processing tasks from an event queue, reading commands from a socket, or performing a long - running task outside of the ui thread
許多應用程序用線程來提供后臺服務處理來自事件隊列的任務、從套接字讀取命令或執行ui線程以外的長期任務。 -
Alternatively, the java virtual machine can manage thread movement - under either a cooperative or preemptive model - from a ready queue onto the processor, where the thread can begin executing its program code
同樣, java虛擬機( jvm )也可以控制線程的移動在協作或搶先模型中從準備就緒隊列中將進程移到處理器中,於是該線程就可以開始執行它的程序代碼。 -
A thread in the ready queue is permitted to reacquire the lock
就緒隊列中的線程被允許重新獲取鎖。 -
Instead of allocating one thread per open socket, we place all requests into a generic queue serviced by a set of
不是為每個打開的socket分配一個線程,相反,我們把所有請求放到一個由一組 -
Tasks from a work queue, like the incoming responses thread from our example
任務的線程,類似於我們的示例中的入站響應線程。 -
Locks that are mostly contended are the " hot " locks in an application, such as the locks that guard the shared work queue for a thread pool
多數競爭鎖是應用程序中的「熱」鎖,例如保護線程池的共享工作隊列的鎖。 -
Which moves the current thread off the processor and onto the ready queue
方法能夠將當前的線程從處理器中移出到準備就緒隊列中。 -
Cause the process thread to wait a specified time interval for a new message to arrive in the queue
方法使進程線程用指定的間隔時間等待新消息到達隊列。 -
Suspends the current thread until the thread processing the queue of finalizers has emptied that queue
掛起當前線程,直到處理終結器隊列的線程清空該隊列為止。 -
After the lock is freed, the sleeping thread moves to the ready - to - run queue
一旦鎖被打開,這些睡眠進程就會被喚醒並移到準備就緒隊列中。 -
Which posts a runnable object on the swing event queue to be handled by the swing event - processing thread when it gets around to it
的方法,這樣就在swing事件隊列上發送了一個runnable對象,當輪到它執行時, swing事件處理線程將會處理它。 -
To safely manipulate the kernel queue data structures ? that is, in order to ensure thread synchronization ? your code should acquire the appropriate lock ( i. e., resource access control ) first
為了安全地操作內核隊列數據結構- -換句話說,為了確保線程同步- -你的代碼應當首先獲取合適的鎖(也就是資源訪問控制器) 。 -
An application s message loop is an internal program loop that retrieves messages from a thread s message queue, translates them, and then sends them to the application to be handled
應用程序的消息循環是內部程序循環,它從線程的消息隊列檢索消息,然後轉換這些消息,之後將它們發送給要處理的應用程序。 -
In the server thread would cause the client to exit without processing any remaining elements on its queue
System . exit也會導致client未處理其隊列上的任何剩餘元素就退出。
分享友人