On Sun, Jan 15, 2012 at 7:19 AM, Ted Wynnychenko <[email protected]> wrote:
...
> When I look at the pthread.h header file (which is included in the source),
> I cannot find "pthread_spinlock_t" defined.
>
> It is my understanding that on linux "pthread_spinlock_t" is defined in
> "/usr/include/bits/pthreadtypes.h;" however, there is no "pthreadtypes.h"
> header file that I can find on openbsd 4.9.
>
> I must admit that this is a bit beyond my current understanding.  I am
> wondering if there is some way around this, or if there is something in
> ports/packages that can be installed to provide the missing
> "pthread_spinlock_t" definition?  Or, am I just out of luck?

Currently, you're out of luck.  I expect that this will change some
time after we make the switch from our current user-space-only threads
(as implemented in the current libpthread) to real kernel threads (as
presented by the not-built-or-enabled-by-default librthread).


Philip Guenther

Reply via email to