1 | /** @file
|
---|
2 | * PDM - Pluggable Device Manager, Async Task.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2007 innotek GmbH
|
---|
7 | *
|
---|
8 | * innotek GmbH confidential
|
---|
9 | * All rights reserved
|
---|
10 | */
|
---|
11 |
|
---|
12 | #ifndef ___VBox_pdmasynctask_h
|
---|
13 | #define ___VBox_pdmasynctask_h
|
---|
14 |
|
---|
15 | #include <VBox/types.h>
|
---|
16 |
|
---|
17 | __BEGIN_DECLS
|
---|
18 |
|
---|
19 |
|
---|
20 | /** @defgroup grp_pdm_async_task Async Task
|
---|
21 | * @ingroup grp_pdm
|
---|
22 | * @{
|
---|
23 | */
|
---|
24 |
|
---|
25 | /** Pointer to a PDM async task template handle. */
|
---|
26 | typedef struct PDMASYNCTASKTEMPLATE *PPDMASYNCTASKTEMPLATE;
|
---|
27 | /** Pointer to a PDM async task template handle pointer. */
|
---|
28 | typedef PPDMASYNCTASKTEMPLATE *PPPDMASYNCTASKTEMPLATE;
|
---|
29 |
|
---|
30 | /** Pointer to a PDM async task handle. */
|
---|
31 | typedef struct PDMASYNCTASK *PPDMASYNCTASK;
|
---|
32 | /** Pointer to a PDM async task handle pointer. */
|
---|
33 | typedef PPDMASYNCTASK *PPPDMASYNCTASK;
|
---|
34 |
|
---|
35 | /* This should be similar to VMReq, only difference there will be a pool
|
---|
36 | of worker threads instead of EMT. The actual implementation should be
|
---|
37 | made in IPRT so we can reuse it for other stuff later. The reason why
|
---|
38 | it should be put in PDM is because we need to manage it wrt to VM
|
---|
39 | state changes (need exception - add a flag for this). */
|
---|
40 |
|
---|
41 | /** @} */
|
---|
42 |
|
---|
43 |
|
---|
44 | __END_DECLS
|
---|
45 |
|
---|
46 | #endif
|
---|
47 |
|
---|