PERFORCE change 74653 for review
David Xu
davidxu at FreeBSD.org
Thu Apr 7 01:29:01 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=74653
Change 74653 by davidxu at davidxu_celeron on 2005/04/07 08:28:59
change _thread_off_per_thread_event_mask to _thread_off_enable_event.
Affected files ...
.. //depot/projects/davidxu_thread/src/lib/libthr/pthread.map#5 edit
.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_event.c#3 edit
.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_private.h#9 edit
.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_symbols.c#3 edit
Differences ...
==== //depot/projects/davidxu_thread/src/lib/libthr/pthread.map#5 (text+ko) ====
@@ -359,7 +359,7 @@
_thread_off_thr_locklevel;
_thread_off_tlsindex;
_thread_off_isdead;
- _thread_off_per_thread_event_mask;
+ _thread_off_enable_event;
_thread_size_key;
_thread_state_running;
_thread_state_zoombie;
==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_event.c#3 (text+ko) ====
@@ -59,7 +59,7 @@
_thr_report_event(struct pthread *curthread, int event)
{
if (!_libthr_debug ||
- !(curthread->event_mask & event) ||
+ !(curthread->enable_event) ||
!(_thread_event_mask & event))
return;
THR_UMTX_LOCK(curthread, &_thr_event_lock);
==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_private.h#9 (text+ko) ====
@@ -493,7 +493,7 @@
struct pthread_cleanup *cleanup;
/* Event reporting mask */
- int event_mask;
+ int enable_event;
};
#define THR_UMTX_TRYLOCK(thrd, lck) \
==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_symbols.c#3 (text+ko) ====
@@ -49,7 +49,7 @@
int _thread_off_linkmap = offsetof(Obj_Entry, linkmap);
int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex);
int _thread_off_isdead = offsetof(struct pthread, terminated);
-int _thread_off_per_thread_event_mask = offsetof(struct pthread, event_mask);
+int _thread_off_enable_event = offsetof(struct pthread, enable_event);
int _thread_size_key = sizeof(struct pthread_key);
int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
int _thread_off_key_destructor = offsetof(struct pthread_key, destructor);
More information about the p4-projects
mailing list