← Back to index
|
Original Bugzilla link
Bug 666 – missing pthread functions
Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-09T04:50:00Z
Last change time
2015-11-01T13:40:45Z
Assigned to
bugzilla
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2006-12-09T04:50:09Z
Some pthread functions are currently declared in std.threads while others are declared in std.c.linux.linux. The functions that seem to be missing are: pthread_attr_destroy pthread_attr_getdetachstate pthread_attr_getguardsize pthread_attr_getinheritsched pthread_attr_getschedparam pthread_attr_getschedpolicy pthread_attr_getscope pthread_attr_getstack pthread_attr_getstackaddr pthread_attr_getstacksize pthread_attr_setdetachstate pthread_attr_setguardsize pthread_attr_setinheritsched pthread_attr_setschedparam pthread_attr_setschedpolicy pthread_attr_setscope pthread_attr_setstack pthread_attr_setstackaddr pthread_attr_setstacksize pthread_barrierattr_destroy pthread_barrierattr_getpshared pthread_barrierattr_init pthread_barrierattr_setpshared pthread_barrier_destroy pthread_barrier_init pthread_barrier_wait pthread_cancel_init pthread_condattr_destroy pthread_condattr_getclock pthread_condattr_getpshared pthread_condattr_init pthread_condattr_setclock pthread_condattr_setpshared pthread_detach pthread_exit pthread_getattr_np pthread_getconcurrency pthread_getcpuclockid pthread_getschedparam pthread_key_create pthread_key_delete pthread_mutexattr_getkind_np pthread_mutexattr_getprioceiling pthread_mutexattr_getprotocol pthread_mutexattr_getpshared pthread_mutexattr_getrobust_np pthread_mutexattr_setprioceiling pthread_mutexattr_setprotocol pthread_mutexattr_setpshared pthread_mutexattr_setrobust_np pthread_mutexattr_settype pthread_mutex_consistent_np pthread_mutex_getprioceiling pthread_mutex_setprioceiling pthread_mutex_timedlock pthread_once pthread_rwlockattr_destroy pthread_rwlockattr_getkind_np pthread_rwlockattr_getpshared pthread_rwlockattr_init pthread_rwlockattr_setkind_np pthread_rwlockattr_setpshared pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_wrlock pthread_setconcurrency pthread_setschedparam pthread_setschedprio pthread_setspecific pthread_sigmask pthread_spin_destroy pthread_spin_init pthread_spin_lock pthread_spin_trylock pthread_testcancel pthread_timedjoin_np pthread_tryjoin_np pthread_yield
Comment #1
by bugzilla — 2006-12-28T15:38:41Z
This doesn't seem to line up with pthreads.h on my Red Hat linux box. There are missing functions, and extra functions.
Comment #2
by thomas-dloop — 2006-12-30T20:26:16Z
There are atleast 3 different extension to the original pthread standard floating around: GNU, UNIX98 and XOPEN2K
Comment #3
by sean — 2010-09-21T16:15:01Z
These are defined by druntime in D2, so this issue is D1-specific.