FreeCalypso > hg > fc-selenite
comparison src/nucleus/mbd.c @ 7:0f80e1e4dce4
src/nucleus: library C code import from FreeNucleus package
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 15 Jul 2018 20:57:33 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 6:8b2a9a374324 | 7:0f80e1e4dce4 |
|---|---|
| 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 /* mbd.c Nucleus PLUS 1.14 */ | |
| 17 /* */ | |
| 18 /* COMPONENT */ | |
| 19 /* */ | |
| 20 /* MB - Mailbox Management */ | |
| 21 /* */ | |
| 22 /* DESCRIPTION */ | |
| 23 /* */ | |
| 24 /* This file contains global data structures for use within the */ | |
| 25 /* mailbox management component. */ | |
| 26 /* */ | |
| 27 /* DATA STRUCTURES */ | |
| 28 /* */ | |
| 29 /* MBD_Created_Mailboxes_List Pointer to the linked-list */ | |
| 30 /* of created mailboxes */ | |
| 31 /* MBD_Total_Mailboxes Total number of created */ | |
| 32 /* mailboxes */ | |
| 33 /* MBD_List_Protect Mailbox list protection */ | |
| 34 /* */ | |
| 35 /* FUNCTIONS */ | |
| 36 /* */ | |
| 37 /* None */ | |
| 38 /* */ | |
| 39 /* DEPENDENCIES */ | |
| 40 /* */ | |
| 41 /* mb_defs.h Mailbox 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 file header, resulting */ | |
| 51 /* in 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 "mb_defs.h" /* Mailbox constants */ | |
| 64 | |
| 65 | |
| 66 /* MBD_Created_Mailboxes_List is the head pointer of the linked list of | |
| 67 created mailboxes. If the list is NU_NULL, there are no mailboxes | |
| 68 created. */ | |
| 69 | |
| 70 CS_NODE *MBD_Created_Mailboxes_List; | |
| 71 | |
| 72 | |
| 73 /* MBD_Total_Mailboxes contains the number of currently created | |
| 74 mailboxes. */ | |
| 75 | |
| 76 UNSIGNED MBD_Total_Mailboxes; | |
| 77 | |
| 78 | |
| 79 /* MBD_List_Protect is a list protection structure used to block any other | |
| 80 thread from access to the created mailbox list. */ | |
| 81 | |
| 82 TC_PROTECT MBD_List_Protect; | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 |
