X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=NetWare%2Fnwtinfo.h;h=25d78a720fb6b394eb1907ed77ddd0b00c3849f4;hb=c067b4bea65bd7b97b0ae4f7b058dd94b44a4c48;hp=fd004bc62e4cc99891672d953a4bc6f774f17b36;hpb=8dbfbba0c55b52c9acc258d9a3522ce8b76c3497;p=p5sagit%2Fp5-mst-13.2.git diff --git a/NetWare/nwtinfo.h b/NetWare/nwtinfo.h index fd004bc..25d78a7 100644 --- a/NetWare/nwtinfo.h +++ b/NetWare/nwtinfo.h @@ -8,11 +8,11 @@ */ /* - * FILENAME : NWTInfo.h - * DESCRIPTION : Thread-local storage for Perl. - * Author : SGP, HYAK - * Date : January 2001. - * + * FILENAME : NWTInfo.h + * DESCRIPTION : Thread-local storage for Perl. + * Author : SGP, HYAK + * Date Created : January 2001. + * Date Modified: July 2nd 2001. */ @@ -33,19 +33,25 @@ typedef struct tagThreadInfo void fnInitializeThreadInfo(void); BOOL fnTerminateThreadInfo(void); -BOOL fnRegisterWithThreadTable(void); -BOOL fnUnregisterWithThreadTable(void); ThreadInfo* fnAddThreadInfo(int tid); BOOL fnRemoveThreadInfo(int tid); ThreadInfo* fnGetThreadInfo(int tid); -//For storing and retrieving Watcom Hash list address #ifdef __cplusplus + //For storing and retrieving Watcom Hash list address extern "C" BOOL fnInsertHashListAddrs(void *addrs, BOOL dontTouchHashList); + //Registering with the Thread table + extern "C" BOOL fnRegisterWithThreadTable(void); + extern "C" BOOL fnUnregisterWithThreadTable(void); #else + //For storing and retrieving Watcom Hash list address BOOL fnInsertHashListAddrs(void *addrs, BOOL dontTouchHashList); + //Registering with the Thread table + BOOL fnRegisterWithThreadTable(void); + BOOL fnUnregisterWithThreadTable(void); #endif + BOOL fnGetHashListAddrs(void **addrs, BOOL *dontTouchHashList); //New TLS to set and get the thread contex - may be redundant,