www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 666] New: missing pthread functions

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=666

           Summary: missing pthread functions
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


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


-- 
Dec 09 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=666





------- Comment #1 from bugzilla digitalmars.com  2006-12-28 15:38 -------
This doesn't seem to line up with pthreads.h on my Red Hat linux box. There are
missing functions, and extra functions.


-- 
Dec 28 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=666





------- Comment #2 from thomas-dloop kuehne.cn  2006-12-30 20:26 -------
There are atleast 3 different extension to the original pthread standard 
floating around:
GNU, UNIX98 and XOPEN2K


-- 
Dec 30 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=666


Sean Kelly <sean invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sean invisibleduck.org


--- Comment #3 from Sean Kelly <sean invisibleduck.org> 2010-09-21 16:15:01 PDT
---
These are defined by druntime in D2, so this issue is D1-specific.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 21 2010