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/78e900f8e087
branches:  nathanw_sa
changeset: 505497:78e900f8e087
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Sun Dec 30 02:19:26 2001 +0000

description:
pt_spin_t -> pthread_spin_t.

diffstat:

 lib/libpthread/pthread_sig.c      |  10 +++++-----
 lib/libpthread/pthread_specific.c |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r 371d02e1ef41 -r 78e900f8e087 lib/libpthread/pthread_sig.c
--- a/lib/libpthread/pthread_sig.c      Sun Dec 30 02:19:00 2001 +0000
+++ b/lib/libpthread/pthread_sig.c      Sun Dec 30 02:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_sig.c,v 1.1.2.6 2001/11/26 19:19:54 nathanw Exp $      */
+/*     $NetBSD: pthread_sig.c,v 1.1.2.7 2001/12/30 02:19:59 nathanw Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -48,10 +48,10 @@
 #include "pthread.h"
 #include "pthread_int.h"
 
-static pt_spin_t       pt_sigacts_lock;
+static pthread_spin_t  pt_sigacts_lock;
 static struct sigaction pt_sigacts[_NSIG];
 
-static pt_spin_t       pt_process_siglock;
+static pthread_spin_t  pt_process_siglock;
 static sigset_t        pt_process_sigmask;
 static sigset_t        pt_process_siglist;
 
@@ -173,8 +173,8 @@
 pthread__signal(pthread_t t, int sig, int code)
 {
        pthread_t self, target, good, okay;
-       extern pt_spin_t allqueue_lock;
-       extern struct pt_queue_t allqueue;
+       extern pthread_spin_t allqueue_lock;
+       extern struct pthread_queue_t allqueue;
        ucontext_t *uc;
 
        if (t)
diff -r 371d02e1ef41 -r 78e900f8e087 lib/libpthread/pthread_specific.c
--- a/lib/libpthread/pthread_specific.c Sun Dec 30 02:19:00 2001 +0000
+++ b/lib/libpthread/pthread_specific.c Sun Dec 30 02:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_specific.c,v 1.1.2.1 2001/08/08 16:39:33 nathanw Exp $ */
+/*     $NetBSD: pthread_specific.c,v 1.1.2.2 2001/12/30 02:19:26 nathanw Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -96,8 +96,8 @@
 pthread_key_delete(pthread_key_t key)
 {
        pthread_t self, thread;
-       extern pt_spin_t allqueue_lock;
-       extern struct pt_queue_t allqueue;
+       extern pthread_spin_t allqueue_lock;
+       extern struct pthread_queue_t allqueue;
 
        /* This takes a little work. When pthread_key_create() returns
         * a new key, the data for that key must be NULL in all threads.



Home | Main Index | Thread Index | Old Index