Annotation of xinu/h/mark.h, revision 1.1.1.1

1.1       root        1: /* mark.h - marked, unmarked */
                      2: 
                      3: #ifndef        MAXMARK
                      4: #define        MAXMARK 20              /* maximum number of marked locations   */
                      5: #endif
                      6: #ifdef MEMMARK
                      7: extern int     *(marks[]);
                      8: extern int     nmarks;
                      9: extern int     mkmutex;
                     10: typedef        int     MARKER[1];      /* by declaring it to be an array, the  */
                     11:                                /* name provides an address so forgotten*/
                     12:                                /* &'s don't become a problem           */
                     13: 
                     14: #define        unmarked(L)             (L[0]<0 || L[0]>=nmarks || marks[L[0]]!=L)
                     15: #define        marked(L)               !unmarked(L)
                     16: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.