From: | Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 30 May 2005 13:50:54 -0700 (PDT) |
joerg 2005/05/30 13:50:54 PDT DragonFly src repository Modified files: lib/libc_r/uthread uthread_attr_destroy.c uthread_attr_get_np.c uthread_attr_getdetachstate.c uthread_attr_getinheritsched.c uthread_attr_getschedparam.c uthread_attr_getschedpolicy.c uthread_attr_getscope.c uthread_attr_getstack.c uthread_attr_getstackaddr.c uthread_attr_getstacksize.c uthread_attr_init.c uthread_attr_setcreatesuspend_np.c uthread_attr_setdetachstate.c uthread_attr_setinheritsched.c uthread_attr_setschedparam.c uthread_attr_setschedpolicy.c uthread_attr_setscope.c uthread_attr_setstack.c uthread_attr_setstackaddr.c uthread_attr_setstacksize.c uthread_cancel.c uthread_clean.c uthread_concurrency.c uthread_cond.c uthread_condattr_destroy.c uthread_condattr_init.c uthread_create.c uthread_detach.c uthread_equal.c uthread_exit.c uthread_getprio.c uthread_getschedparam.c uthread_info.c uthread_join.c uthread_kevent.c uthread_kill.c uthread_kqueue.c uthread_main_np.c uthread_mattr_init.c uthread_mattr_kind_np.c uthread_multi_np.c uthread_mutex.c uthread_mutex_prioceiling.c uthread_mutex_protocol.c uthread_mutexattr_destroy.c uthread_once.c uthread_resume_np.c uthread_rwlock.c uthread_rwlockattr.c uthread_self.c uthread_sem.c uthread_setprio.c uthread_setschedparam.c uthread_sigmask.c uthread_single_np.c uthread_spec.c uthread_suspend_np.c uthread_switch_np.c uthread_yield.c Log: libc_r has to provide strong versions of the public symbols to override the stubs in libc. Otherwise mixing e.g. of pthread_cond_init from libc and pthread_cond_timedwait from libc_r can occur and result in panics. Revision Changes Path 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_destroy.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_get_np.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getdetachstate.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getinheritsched.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getschedparam.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getschedpolicy.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getscope.c 1.3 +2 -3 src/lib/libc_r/uthread/uthread_attr_getstack.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getstackaddr.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_getstacksize.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_init.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setcreatesuspend_np.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setdetachstate.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setinheritsched.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setschedparam.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setschedpolicy.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setscope.c 1.3 +2 -3 src/lib/libc_r/uthread/uthread_attr_setstack.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setstackaddr.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_attr_setstacksize.c 1.4 +5 -5 src/lib/libc_r/uthread/uthread_cancel.c 1.3 +3 -4 src/lib/libc_r/uthread/uthread_clean.c 1.3 +4 -4 src/lib/libc_r/uthread/uthread_concurrency.c 1.3 +8 -8 src/lib/libc_r/uthread/uthread_cond.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_condattr_destroy.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_condattr_init.c 1.6 +2 -2 src/lib/libc_r/uthread/uthread_create.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_detach.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_equal.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_exit.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_getprio.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_getschedparam.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_info.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_join.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_kevent.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_kill.c 1.2 +2 -2 src/lib/libc_r/uthread/uthread_kqueue.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_main_np.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_mattr_init.c 1.4 +5 -5 src/lib/libc_r/uthread/uthread_mattr_kind_np.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_multi_np.c 1.4 +5 -6 src/lib/libc_r/uthread/uthread_mutex.c 1.3 +6 -6 src/lib/libc_r/uthread/uthread_mutex_prioceiling.c 1.3 +3 -4 src/lib/libc_r/uthread/uthread_mutex_protocol.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_mutexattr_destroy.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_once.c 1.3 +4 -4 src/lib/libc_r/uthread/uthread_resume_np.c 1.3 +8 -9 src/lib/libc_r/uthread/uthread_rwlock.c 1.3 +5 -6 src/lib/libc_r/uthread/uthread_rwlockattr.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_self.c 1.3 +11 -11 src/lib/libc_r/uthread/uthread_sem.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_setprio.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_setschedparam.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_sigmask.c 1.3 +3 -3 src/lib/libc_r/uthread/uthread_single_np.c 1.3 +6 -7 src/lib/libc_r/uthread/uthread_spec.c 1.3 +4 -4 src/lib/libc_r/uthread/uthread_suspend_np.c 1.3 +4 -4 src/lib/libc_r/uthread/uthread_switch_np.c 1.3 +4 -4 src/lib/libc_r/uthread/uthread_yield.c http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_destroy.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_get_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getdetachstate.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getinheritsched.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getschedparam.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getschedpolicy.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getscope.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getstack.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getstackaddr.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_getstacksize.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_init.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setcreatesuspend_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setdetachstate.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setinheritsched.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setschedparam.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setschedpolicy.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setscope.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setstack.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setstackaddr.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_attr_setstacksize.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_cancel.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_clean.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_concurrency.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_cond.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_condattr_destroy.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_condattr_init.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_create.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_detach.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_equal.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_exit.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_getprio.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_getschedparam.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_info.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_join.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_kevent.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_kill.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_kqueue.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_main_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mattr_init.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mattr_kind_np.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_multi_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mutex.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mutex_prioceiling.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mutex_protocol.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_mutexattr_destroy.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_once.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_resume_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_rwlock.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_rwlockattr.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_self.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_sem.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_setprio.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_setschedparam.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_sigmask.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_single_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_spec.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_suspend_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_switch_np.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_yield.c.diff?r1=1.2&r2=1.3&f=u