comparison src/nucleus/qud.c @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /*************************************************************************/
2 /* */
3 /* Copyright Mentor Graphics Corporation 2002 */
4 /* All Rights Reserved. */
5 /* */
6 /* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS */
7 /* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS */
8 /* SUBJECT TO LICENSE TERMS. */
9 /* */
10 /*************************************************************************/
11
12 /*************************************************************************/
13 /* */
14 /* FILE NAME VERSION */
15 /* */
16 /* qud.c Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* QU - Queue Management */
21 /* */
22 /* DESCRIPTION */
23 /* */
24 /* This file contains global data structures for use within the */
25 /* queue management component. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* QUD_Created_Queue_List Pointer to the linked-list */
30 /* of created queues */
31 /* QUD_Total_Queues Total number of created */
32 /* queues */
33 /* QUD_List_Protect Queue list protection */
34 /* */
35 /* FUNCTIONS */
36 /* */
37 /* None */
38 /* */
39 /* DEPENDENCIES */
40 /* */
41 /* qu_defs.h Queue Management constants */
42 /* tc_defs.h Thread Control constants */
43 /* */
44 /* HISTORY */
45 /* */
46 /* DATE REMARKS */
47 /* */
48 /* 03-01-1993 Created initial version 1.0 */
49 /* 04-19-1993 Verified version 1.0 */
50 /* 03-01-1994 Modified copyright, resulting in */
51 /* version 1.1 */
52 /* */
53 /* 03-18-1994 Verified version 1.1 */
54 /* 04-17-1996 updated to version 1.2 */
55 /* 03-24-1998 Released version 1.3 */
56 /* 03-26-1999 Released 1.11m (new release */
57 /* numbering scheme) */
58 /* 04-17-2002 Released version 1.13m */
59 /* 11-07-2002 Released version 1.14 */
60 /*************************************************************************/
61 #define NU_SOURCE_FILE
62
63 #include "qu_defs.h" /* Queue constants */
64
65
66 /* QUD_Created_Queues_List is the head pointer of the linked list of
67 created queues. If the list is NU_NULL, there are no queues
68 created. */
69
70 CS_NODE *QUD_Created_Queues_List;
71
72
73 /* QUD_Total_Queues contains the number of currently created
74 queues. */
75
76 UNSIGNED QUD_Total_Queues;
77
78
79 /* QUD_List_Protect is a list protection structure used to block any other
80 thread from access to the created queue list. */
81
82 TC_PROTECT QUD_List_Protect;
83
84
85
86
87