FreeCalypso > hg > fc-selenite
comparison src/nucleus/pid.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 /* pid.c Nucleus PLUS 1.14 */ | |
| 17 /* */ | |
| 18 /* COMPONENT */ | |
| 19 /* */ | |
| 20 /* PI - Pipe Management */ | |
| 21 /* */ | |
| 22 /* DESCRIPTION */ | |
| 23 /* */ | |
| 24 /* This file contains global data structures for use within the */ | |
| 25 /* pipe management component. */ | |
| 26 /* */ | |
| 27 /* DATA STRUCTURES */ | |
| 28 /* */ | |
| 29 /* PID_Created_Pipe_List Pointer to the linked-list */ | |
| 30 /* of created pipes */ | |
| 31 /* PID_Total_Pipes Total number of created */ | |
| 32 /* pipes */ | |
| 33 /* PID_List_Protect Pipe list protection */ | |
| 34 /* */ | |
| 35 /* FUNCTIONS */ | |
| 36 /* */ | |
| 37 /* None */ | |
| 38 /* */ | |
| 39 /* DEPENDENCIES */ | |
| 40 /* */ | |
| 41 /* pi_defs.h Pipe Management constants */ | |
| 42 /* */ | |
| 43 /* HISTORY */ | |
| 44 /* */ | |
| 45 /* DATE REMARKS */ | |
| 46 /* */ | |
| 47 /* 03-01-1993 Created initial version 1.0 */ | |
| 48 /* 04-19-1993 Verified version 1.0 */ | |
| 49 /* 03-01-1994 Modified copyright, resulting in */ | |
| 50 /* version 1.1 */ | |
| 51 /* */ | |
| 52 /* 03-18-1994 Verified version 1.1 */ | |
| 53 /* 04-17-1996 updated to version 1.2 */ | |
| 54 /* 03-24-1998 Released version 1.3 */ | |
| 55 /* 03-26-1999 Released 1.11m (new release */ | |
| 56 /* numbering scheme) */ | |
| 57 /* 04-17-2002 Released version 1.13m */ | |
| 58 /* 11-07-2002 Released version 1.14 */ | |
| 59 /*************************************************************************/ | |
| 60 #define NU_SOURCE_FILE | |
| 61 | |
| 62 #include "pi_defs.h" /* Pipe constants */ | |
| 63 | |
| 64 | |
| 65 /* PID_Created_Pipes_List is the head pointer of the linked list of | |
| 66 created pipes. If the list is NU_NULL, there are no pipes | |
| 67 created. */ | |
| 68 | |
| 69 CS_NODE *PID_Created_Pipes_List; | |
| 70 | |
| 71 | |
| 72 /* PID_Total_Pipes contains the number of currently created | |
| 73 pipes. */ | |
| 74 | |
| 75 UNSIGNED PID_Total_Pipes; | |
| 76 | |
| 77 | |
| 78 /* PID_List_Protect is a list protection structure used to block any other | |
| 79 thread from access to the created pipe list. */ | |
| 80 | |
| 81 TC_PROTECT PID_List_Protect; | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | 
