VirtualBox

vbox的更動 68525 路徑 trunk/src/VBox/HostServices


忽略:
時間撮記:
2017-8-24 下午06:54:16 (7 年 以前)
作者:
vboxsync
訊息:

GuestControl/service.cpp: docs

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r68524 r68525  
    594594    }
    595595
     596    /**
     597     * Set to inidicate that a client call (GUEST_MSG_WAIT) is pending.
     598     */
    596599    int SetPending(const ClientConnection *pConnection)
    597600    {
     
    853856    /** Host command list to process. */
    854857    HostCmdList mHostCmdList;
    855     /** Last (most recent) rc after handling the
    856      *  host command. */
     858    /** Last (most recent) rc after handling the host command. */
    857859    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.  */
    860864    uint32_t mHostCmdTries;
    861865    /** Timestamp (us) of last host command processed. */
    862866    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.
    868871     */
    869872    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.
    877879     */
    878880    uint32_t mPeekCount;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette