Date: Sat, 28 Nov 98 18:20:09 -0600 From: "Richard Seaman, Jr." <lists@tar.com> To: "cvs-all@FreeBSD.ORG" <cvs-all@FreeBSD.ORG>, "cvs-committers@FreeBSD.ORG" <cvs-committers@FreeBSD.ORG>, "Eivind Eklund" <eivind@FreeBSD.ORG> Subject: Re: cvs commit: src/include pthread.h src/lib/libc_r/uthread uthread_mattr_kind_np.c uthread_mutex.c Message-ID: <199811290020.SAA17552@ns.tar.com>
next in thread | raw e-mail | index | archive | help
On Sat, 28 Nov 1998 15:52:59 -0800 (PST), Eivind Eklund wrote: >eivind 1998/11/28 15:52:59 PST > > Modified files: > include pthread.h > lib/libc_r/uthread uthread_mattr_kind_np.c uthread_mutex.c > Log: > Add support for pthread_mutexattr_settype(). As a side effect of > testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work. ^^^^^^^^^^^^^^^^^^^^^^^^ You might want to check localtime.c in libc. I seem to recall from looking at this a couple of weeks ago that the "thread safe", ie. libc_r, implementation makes recursive calls to pthread_mutex_lock. Therefore, its possible this change will break some of the localtime related functions. If so, it could be fixed by having localtime.c use recursive mutexes, or better yet, by rewriting it so it doesn't make recursive calls to pthread_mutex_lock. Actually there are more extensive changes I think should be made to localtime.c, but that's a different subject. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811290020.SAA17552>