vbox的更動 68525 路徑 trunk/src/VBox/HostServices
- 時間撮記:
- 2017-8-24 下午06:54:16 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/GuestControl/service.cpp
r68524 r68525 594 594 } 595 595 596 /** 597 * Set to inidicate that a client call (GUEST_MSG_WAIT) is pending. 598 */ 596 599 int SetPending(const ClientConnection *pConnection) 597 600 { … … 853 856 /** Host command list to process. */ 854 857 HostCmdList mHostCmdList; 855 /** Last (most recent) rc after handling the 856 * host command. */ 858 /** Last (most recent) rc after handling the host command. */ 857 859 int mHostCmdRc; 858 /** How many times the host service has tried to deliver this 859 * command to the according client. */ 860 /** How many GUEST_MSG_WAIT calls the client has issued to retrieve one command. 861 * 862 * This is used as a heuristic to remove a message that the client appears not 863 * to be able to successfully retrieve. */ 860 864 uint32_t mHostCmdTries; 861 865 /** Timestamp (us) of last host command processed. */ 862 866 uint64_t mHostCmdTS; 863 /** 864 * Flag indicating whether the client currently is pending. 865 * This means the client waits for a new host command to reply 866 * and won't return from the waiting call until a new host 867 * command is available. 867 /** Flag indicating whether a client call (GUEST_MSG_WAIT) currently is pending. 868 * 869 * This means the client waits for a new host command to reply and won't return 870 * from the waiting call until a new host command is available. 868 871 */ 869 872 bool mIsPending; 870 /** 871 * This is necessary for being compatible with older 872 * Guest Additions. In case there are commands which only 873 * have two (2) parameters and therefore would fit into the 874 * GUEST_MSG_WAIT reply immediately, we now can make sure 875 * that the client first gets back the GUEST_MSG_WAIT results 876 * first. 873 /** Number of times we've peeked at a pending message. 874 * 875 * This is necessary for being compatible with older Guest Additions. In case 876 * there are commands which only have two (2) parameters and therefore would fit 877 * into the GUEST_MSG_WAIT reply immediately, we now can make sure that the 878 * client first gets back the GUEST_MSG_WAIT results first. 877 879 */ 878 880 uint32_t mPeekCount;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器