VirtualBox

source: vbox/trunk/include/VBox/pdmasynctask.h@ 5846

Last change on this file since 5846 was 5655, checked in by vboxsync, 17 years ago

PDMAsync outline.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.5 KB
Line 
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. */
31typedef struct PDMASYNCTASKTEMPLATE *PPDMASYNCTASKTEMPLATE;
32/** Pointer to a PDM async task template handle pointer. */
33typedef PPDMASYNCTASKTEMPLATE *PPPDMASYNCTASKTEMPLATE;
34
35/** Pointer to a PDM async task handle. */
36typedef struct PDMASYNCTASK *PPDMASYNCTASK;
37/** Pointer to a PDM async task handle pointer. */
38typedef 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
Note: See TracBrowser for help on using the repository browser.

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