3 Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Defines and function prototypes for the ProcessDsc utility.
22 #ifndef _MULTI_THREAD_H_
23 #define _MULTI_THREAD_H_
25 typedef struct _COMPONENTS_ITEM COMPONENTS_ITEM
;
26 typedef struct _BUILD_ITEM BUILD_ITEM
;
27 typedef struct _SOURCE_FILE_ITEM SOURCE_FILE_ITEM
;
28 typedef struct _DEPENDENCY_ITEM DEPENDENCY_ITEM
;
31 // Use this structure to keep track of module build items
33 typedef struct _BUILD_ITEM
{
40 SOURCE_FILE_ITEM
*SourceFileList
;
41 DEPENDENCY_ITEM
*DependencyList
;
45 // Use this structure to keep track of module source files
47 typedef struct _SOURCE_FILE_ITEM
{
48 SOURCE_FILE_ITEM
*Next
;
53 // Use this structure to keep track of module build dependencies
55 typedef struct _DEPENDENCY_ITEM
{
56 DEPENDENCY_ITEM
*Next
;
57 BUILD_ITEM
*Dependency
;
61 // Use this structure to keep track of [components] and [components.n] sections
63 typedef struct _COMPONENTS_ITEM
{
64 COMPONENTS_ITEM
*Next
;
65 BUILD_ITEM
*BuildList
;
69 // Function prototypes
73 BUILD_ITEM
**BuildList
,
82 BUILD_ITEM
*BuildItem
,
88 BUILD_ITEM
*BuildList
,
89 BUILD_ITEM
*BuildItem
,
101 COMPONENTS_ITEM
**ComponentsList
106 COMPONENTS_ITEM
*ComponentsList
110 StartMultiThreadBuild (
111 BUILD_ITEM
**BuildList
,
116 #endif // ifndef _MULTI_THREAD_H_