VirtualBox

Ignore:
Timestamp:
Jul 12, 2023 8:53:20 AM (19 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Use a dedicated worker thread wrapper for transfer threads, so that we have more control for the thread creation / destruction. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-transfers.h

    r100526 r100538  
    875875/** Pointer to a Shared Clipboard transfer callback table. */
    876876typedef SHCLTRANSFERCALLBACKS *PSHCLTRANSFERCALLBACKS;
     877
     878/** Function pointer for a transfer thread function. */
     879typedef DECLCALLBACKPTR(int, PFNSHCLTRANSFERTHREAD,(PSHCLTRANSFER pTransfer, void *pvUser));
    877880
    878881/**
     
    11201123void ShClTransferReset(PSHCLTRANSFER pTransfer);
    11211124
    1122 int ShClTransferRun(PSHCLTRANSFER pTransfer, PFNRTTHREAD pfnThreadFunc, void *pvUser);
     1125int ShClTransferRun(PSHCLTRANSFER pTransfer, PFNSHCLTRANSFERTHREAD pfnThreadFunc, void *pvUser);
    11231126int ShClTransferStart(PSHCLTRANSFER pTransfer);
    11241127
Note: See TracChangeset for help on using the changeset viewer.

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