NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/38442: pthreads lack _POSIX_THREAD_PROCESS_SHARED support
>Number: 38442
>Category: lib
>Synopsis: pthreads lack _POSIX_THREAD_PROCESS_SHARED support
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 16 14:20:00 +0000 2008
>Originator: rtr%omicron-persei-8.net@localhost
>Release: NetBSD 4.0
>Organization:
don't look at me i'm just the janitor
>Environment:
System: NetBSD calculon.omicron-persei-8.net 4.0 NetBSD 4.0 (GENERIC) #0: Sun
Dec 16 00:20:10 PST 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
Architecture: i386
Machine: i386
>Description:
NetBSD doesn't currently support pthread process shared synchronization
primitives.
in these days of many cores/CPUs applications programmers would appreciate
these and it would even enable some of us *cough* to move applications off
linux to NetBSD.
Pretty please make our sysconf(3) return 200112L for
_POSIX_THREAD_PROCESS_SHARED. but unlike apple did with MacOS X Leopard
actually implement the support instead of just claiming implementation
that doesn't exist. :)
>How-To-Repeat:
200112L != sysconf(_POSIX_THREAD_PROCESS_SHARED); --> :(
0 != pthread_xxxattr_setpshared(&attr, PTHREAD_PROCESS_SHARED) --> :(
>Fix:
200112L == sysconf(_POSIX_THREAD_PROCESS_SHARED); --> :)
0 == pthread_xxxattr_setpshared(&attr, PTHREAD_PROCESS_SHARED) --> :)
Home |
Main Index |
Thread Index |
Old Index