Changeset 5800 in vbox
- Timestamp:
- Nov 20, 2007 9:01:39 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26206
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMInternal.h
r5798 r5800 29 29 #ifdef IN_RING3 30 30 # include <iprt/thread.h> 31 #endif32 33 /* For the async completion stuff */34 #if defined(RT_OS_WINDOWS)35 # include <windows.h>36 #elif defined(RT_OS_OS2)37 /** @todo */38 31 #endif 39 32 … … 872 865 873 866 /** 874 * Structure for managing one async task thread.875 */876 typedef struct PDMASYNCCOMPLETIONMANAGER877 {878 /** Next element in the list. (singly linked) */879 R3PTRTYPE(struct PDMASYNCCOMPLETIONMANAGER) *pNext;880 /** The type of the thread. */881 PDMASYNCCOMPLETIONTYPE enmType;882 /** The thread which manages tasks. */883 R3PTRTYPE(PPDMTHREAD) pThread;884 /** List of new tasks since last notification of the socket task thread. */885 R3PTRTYPE(PPDMASYNCCOMPLETION) pTasksNew;886 /** Type specific data. */887 union888 {889 /** Socket connection for waking up the thread. */890 /** @todo */891 #if defined(RT_OS_LINUX) && defined(_AIO_H)892 /** Pipe for waking up the thread on linux hosts. */893 int WakeupPipe[2];894 #elif defined(RT_OS_WINDOWS)895 /** Handle for waking up the thread on windows hosts. */896 HANDLE WakeupHandle;897 #elif defined (RT_OS_OS2)898 /** @todo */899 #endif900 } u;901 } PDMASYNCCOMPLETIONMANAGER;902 903 /**904 867 * Converts a PDM pointer into a VM pointer. 905 868 * @returns Pointer to the VM structure the PDM is part of.
Note:
See TracChangeset
for help on using the changeset viewer.