Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2005 07:29:14 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 74644 for review
Message-ID:  <200504070729.j377TEiQ021130@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=74644

Change 74644 by davidxu@davidxu_celeron on 2005/04/07 07:29:11

	Change some names.

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthr/pthread.map#4 edit
.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_event.c#2 edit
.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_private.h#8 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthr/pthread.map#4 (text+ko) ====

@@ -359,11 +359,14 @@
 	_thread_off_thr_locklevel;
 	_thread_off_tlsindex;
 	_thread_off_isdead;
+	_thread_off_per_thread_event_mask;
 	_thread_size_key;
 	_thread_state_running;
 	_thread_state_zoombie;
-	_thread_off_per_thread_event_mask;
+	_thread_event;
 	_thread_event_mask;
+	_thread_create_bp;
+	_thread_death_bp;
 local:
 	*;
 };

==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_event.c#2 (text+ko) ====

@@ -34,13 +34,13 @@
 #include "thr_private.h"
 
 int
-_thr_create_bp(void)
+_thread_create_bp(void)
 {
 	return (0);
 }
 
 int
-_thr_death_bp(void)
+_thread_death_bp(void)
 {
 	return (0);
 }
@@ -68,10 +68,10 @@
 	_thread_event.data = 0;
 	switch (event) {
 	case TD_CREATE:
-		_thr_create_bp();
+		_thread_create_bp();
 		break;
 	case TD_DEATH:
-		_thr_death_bp();
+		_thread_death_bp();
 		break;
 	}
 	THR_UMTX_UNLOCK(curthread, &_thr_event_lock);

==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_private.h#8 (text+ko) ====

@@ -741,8 +741,8 @@
 void	_thr_report_create(struct pthread *curthread);
 void	_thr_report_death(struct pthread *curthread);
 void	_thr_report_event(struct pthread *curthread, int event);
-int	_thr_create_bp(void);
-int	_thr_death_bp(void);
+int	_thread_create_bp(void);
+int	_thread_death_bp(void);
 
 /* #include <sys/aio.h> */
 #ifdef _SYS_AIO_H_



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504070729.j377TEiQ021130>