Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 1998 15:35:50 -0700 (PDT)
From:      Tom Bartol <bartol@salk.edu>
To:        "Daniel M. Eischen" <deischen@iworks.interworks.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pthread_attr_setscope missing from libc_r ???
Message-ID:  <Pine.BSF.3.96.980903153357.17487E-100000@cole.salk.edu>
In-Reply-To: <199809032155.QAA29128@iworks.interworks.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks!  I'm trying this now.  VTK is trying to set it to
PTHREAD_SCOPE_SYSTEM but hopefully it won't break anything to comment out
the code.  I'll find out shortly...

Tom


On Thu, 3 Sep 1998, Daniel M. Eischen wrote:

> 
> > I'm trying to compile VTK (a multithreaded viz tool kit) but I'm getting
> > the following error in the final link step:
> >
> > vtkMultiThreader.o: Undefined symbol `_pthread_attr_setscope' referenced
> > from text segment
> 
> Just comment out the code that calls pthread_attr_setscope in VTK.
> FreeBSD doesn't have it yet, and until kernel threads come, it'll
> always be PTHREAD_SCOPE_PROCESS anyways.
> 
> > which seems to suggest that I'm missing the pthread_attr_setscope
> > function.  The function should exist according to the pthread(3) man page. 
> 
> Well, it's defintely not implemented yet, but it would be simple
> enough to add to libc_r.  Trying to set it to PTHREAD_SCOPE_SYSTEM
> would return EINVAL until kernel threads come.
> 
> Dan Eischen
> deischen@iworks.InterWorks.org
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980903153357.17487E-100000>