PERFORCE change 74644 for review
David Xu
davidxu at FreeBSD.org
Thu Apr 7 00:29:15 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=74644
Change 74644 by davidxu at 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_
More information about the p4-projects
mailing list