summaryrefslogtreecommitdiff
path: root/NetWare/nwtinfo.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-02 13:36:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 13:36:58 +0000
commit9219c8ded06600040fa6d862a60325b5afc73df4 (patch)
tree482f46293be5ea4eddf6741d69336774ed072d4f /NetWare/nwtinfo.h
parent7fb3795116dd07b7f236652a03ac53946b1af7cf (diff)
downloadperl-9219c8ded06600040fa6d862a60325b5afc73df4.tar.gz
Netware tweaks from Guruprasad.
p4raw-id: //depot/perl@11090
Diffstat (limited to 'NetWare/nwtinfo.h')
-rw-r--r--NetWare/nwtinfo.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/NetWare/nwtinfo.h b/NetWare/nwtinfo.h
index fd004bc62e..25d78a720f 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,