bnicholes 01/08/09 18:38:44
Modified: threadproc/netware thread.c
Log:
Changed the create thread flags due to changes in the NetWare threading APIs
Revision Changes Path
1.3 +1 -4 apr/threadproc/netware/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apr/threadproc/netware/thread.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- thread.c 2001/08/03 00:31:14 1.2
+++ thread.c 2001/08/10 01:38:44 1.3
@@ -92,7 +92,7 @@
{
apr_status_t stat;
size_t stacksize;
- long flags = NX_CTX_AUTO_CLEANUP;
+ long flags = NX_THR_BIND_CONTEXT;
char threadName[NX_MAX_OBJECT_NAME_LEN+1];
//srj added for nks giving the threads names
@@ -115,12 +115,9 @@
stacksize = attr->stack_size;
if (attr->detach)
flags |= NX_THR_DETACHED;
- else
- flags |= NX_THR_JOINABLE;
}
else {
stacksize = APR_DEFAULT_STACK_SIZE;
- flags |= NX_THR_JOINABLE;
}
(*new)->ctx = NXContextAlloc(