> On Thu, Dec 24, 2009 at 11:18:49AM +0000, Nigel Kukard wrote: > >> Hi guys, >> >> Just curious if there is a technical reason why >> pthread_condattr_[gs]etpshared arn't implemented? >> > AFAICS it's implemented in linuxthreads.old and NPTL. It's required for > SUS threads. >
Sorry ... implemented, but ENOSYS, so not functional and displays
message "Function not implemented".
Below from linuxthreads.old ...
int __pthread_mutexattr_setpshared (pthread_mutexattr_t *attr
attribute_unused, int pshared)
{
if (pshared != PTHREAD_PROCESS_PRIVATE && pshared !=
PTHREAD_PROCESS_SHARED)
return EINVAL;
/* For now it is not possible to shared a conditional variable. */
if (pshared != PTHREAD_PROCESS_PRIVATE)
return ENOSYS;
return 0;
}
signature.asc
Description: OpenPGP digital signature
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
