Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread pt_spin_t -> pthread_spin_t.



details:   https://anonhg.NetBSD.org/src/rev/da5910d26398
branches:  nathanw_sa
changeset: 505498:da5910d26398
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Sun Dec 30 02:20:50 2001 +0000

description:
pt_spin_t -> pthread_spin_t.
pt_queue_t -> pthread_queue_t.

diffstat:

 lib/libpthread/pthread_sa.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 78e900f8e087 -r da5910d26398 lib/libpthread/pthread_sa.c
--- a/lib/libpthread/pthread_sa.c       Sun Dec 30 02:19:26 2001 +0000
+++ b/lib/libpthread/pthread_sa.c       Sun Dec 30 02:20:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_sa.c,v 1.1.2.13 2001/11/17 01:59:08 nathanw Exp $      */
+/*     $NetBSD: pthread_sa.c,v 1.1.2.14 2001/12/30 02:20:50 nathanw Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -58,15 +58,15 @@
 #define SDPRINTF(x)
 #endif
 
-extern struct pt_queue_t allqueue;
+extern struct pthread_queue_t allqueue;
 
 stack_t recyclable[2][(PT_UPCALLSTACKS/2)+1];
 int    recycle_count;
 int    recycle_threshold;
 int    recycle_side;
-pt_spin_t recycle_lock;
+pthread_spin_t recycle_lock;
 
-extern struct pt_queue_t runqueue;
+extern struct pthread_queue_t runqueue;
 
 #define pthread__sa_id(sap) (pthread__id((sap)->sa_context))
 
@@ -257,7 +257,7 @@
 pthread__resolve_locks(pthread_t self, pthread_t *intqueuep)
 {
        pthread_t victim, prev, next, switchto, runq, recycleq, intqueue;
-       pt_spin_t *lock;
+       pthread_spin_t *lock;
 
        PTHREADD_ADD(PTHREADD_RESOLVELOCKS);
 



Home | Main Index | Thread Index | Old Index