1 | /** @file
|
---|
2 | * PDM - Pluggable Device Manager, Async Task.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2007 innotek GmbH
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License as published by the Free Software Foundation,
|
---|
12 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef ___VBox_pdmasynctask_h
|
---|
18 | #define ___VBox_pdmasynctask_h
|
---|
19 |
|
---|
20 | #include <VBox/types.h>
|
---|
21 |
|
---|
22 | __BEGIN_DECLS
|
---|
23 |
|
---|
24 |
|
---|
25 | /** @defgroup grp_pdm_async_task Async Task
|
---|
26 | * @ingroup grp_pdm
|
---|
27 | * @{
|
---|
28 | */
|
---|
29 |
|
---|
30 | /** Pointer to a PDM async task template handle. */
|
---|
31 | typedef struct PDMASYNCTASKTEMPLATE *PPDMASYNCTASKTEMPLATE;
|
---|
32 | /** Pointer to a PDM async task template handle pointer. */
|
---|
33 | typedef PPDMASYNCTASKTEMPLATE *PPPDMASYNCTASKTEMPLATE;
|
---|
34 |
|
---|
35 | /** Pointer to a PDM async task handle. */
|
---|
36 | typedef struct PDMASYNCTASK *PPDMASYNCTASK;
|
---|
37 | /** Pointer to a PDM async task handle pointer. */
|
---|
38 | typedef PPDMASYNCTASK *PPPDMASYNCTASK;
|
---|
39 |
|
---|
40 | /* This should be similar to VMReq, only difference there will be a pool
|
---|
41 | of worker threads instead of EMT. The actual implementation should be
|
---|
42 | made in IPRT so we can reuse it for other stuff later. The reason why
|
---|
43 | it should be put in PDM is because we need to manage it wrt to VM
|
---|
44 | state changes (need exception - add a flag for this). */
|
---|
45 |
|
---|
46 | /** @} */
|
---|
47 |
|
---|
48 |
|
---|
49 | __END_DECLS
|
---|
50 |
|
---|
51 | #endif
|
---|
52 |
|
---|