DragonFly kernel List (threaded) for 2008-01
DragonFly BSD
DragonFly kernel List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Differences between libc_r and libthread_xu


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 19 Jan 2008 15:06:41 +0100

Hey,

I just noticed that libthread_xu implements a couple of functions which libc_r doesn't provide. Somebody should pull up these functions and make the libs en par, otherwise these functions cannot be used from libthread_xu either.

sweatshorts % diff cr xu
0a1
> pthread_atfork
3a5
> pthread_attr_getguardsize
13a16
> pthread_attr_setguardsize
20a24,30
> pthread_barrier_destroy
> pthread_barrier_init
> pthread_barrier_wait
> pthread_barrierattr_destroy
> pthread_barrierattr_getpshared
> pthread_barrierattr_init
> pthread_barrierattr_setpshared
30a41,42
> pthread_condattr_getclock
> pthread_condattr_getpshared
31a44,45
> pthread_condattr_setclock
> pthread_condattr_setpshared
50a65
> pthread_mutex_timedlock
68a84,85
> pthread_rwlock_timedrdlock
> pthread_rwlock_timedwrlock
91a109
> pthread_timedjoin_np

As you can see, libc_r is missing a couple of functions. It would be very nice if somebody could have a look on how to implement those and/or create null-shims.

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]