summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
authorrpj <rpj>2000-08-17 10:18:36 +0000
committerrpj <rpj>2000-08-17 10:18:36 +0000
commita366b6d8c2e6debf247c82af3d41aa2483711c52 (patch)
treee2a2f6785897a8789f88403e99d4f03dce301607 /create.c
parent951895c3aa196e90d4a5ecefe337d8773b8d33b7 (diff)
2000-08-17 Ross Johnson <rpj@special.ise.canberra.edu.au>
* All applicable: Change _pthread_ prefix to ptw32_ prefix to remove leading underscores from private library identifiers (single and double leading underscores are reserved in the ANSI C standard for compiler implementations).
Diffstat (limited to 'create.c')
-rw-r--r--create.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/create.c b/create.c
index 1079f07..f342ca4 100644
--- a/create.c
+++ b/create.c
@@ -74,7 +74,7 @@ pthread_create (pthread_t * tid,
ThreadParms *parms = NULL;
long stackSize;
- if ((thread = _pthread_new()) == NULL)
+ if ((thread = ptw32_new()) == NULL)
{
goto FAIL0;
}
@@ -141,7 +141,7 @@ pthread_create (pthread_t * tid,
_beginthreadex (
(void *) NULL, /* No security info */
(unsigned) stackSize, /* default stack size */
- (unsigned (PT_STDCALL *) (void *)) _pthread_threadStart,
+ (unsigned (PT_STDCALL *) (void *)) ptw32_threadStart,
parms,
(unsigned) CREATE_SUSPENDED,
(unsigned *) &(thread->thread));
@@ -161,7 +161,7 @@ pthread_create (pthread_t * tid,
thread->threadH = threadH = (HANDLE)
_beginthread (
- (void (PT_STDCALL *) (void *)) _pthread_threadStart,
+ (void (PT_STDCALL *) (void *)) ptw32_hreadStart,
(unsigned) stackSize, /* default stack size */
parms);
@@ -202,7 +202,7 @@ FAIL0:
if (result != 0)
{
- _pthread_threadDestroy (thread);
+ ptw32_threadDestroy (thread);
thread = NULL;
if (parms != NULL)