[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re: HPUX-DEVTOOLS: pthread_spinlock available ?
From:       "Toon Knapen" <toon.knapen () gmail ! com>
Date:       2008-04-03 13:43:15
Message-ID: d5bdff000804030643i4e8568e2ha989f252b84560de () mail ! gmail ! com
[Download RAW message or body]

I found in /usr/include/sys/pthread.h the phtread_mutexattr_setspin_np call
that can be used to make a mutex always spinlock (setting the attr
to PTHREAD_MUTEX_SPINONLY_NP). I suppose this is the way to go on hpux,
right ?

On 4/3/08, Toon Knapen <toon.knapen@gmail.com> wrote:
>
> Hi all (again),
>
> AFAICT there are no pthread_spinlock's available on hpux 11.23, right ?
> Are
> they available in hpux v3 ?
>
> In v2 there is a spinlock.h in /usr/include/sys and
> /usr/include/ia64/sync.
> How are these different from pthread_spinlock's. Any pointer to
> documentation on these would be very much appreciated.
>
> thanks in advance (again),
>
> toon
>
> # [ list software deleted text/html attachment, 482 bytes ]
>
> # [ 1 attachments dropped, 482 bytes.]
>
> # [ Please do not post attachments to mailing lists.        ]
> # [ They can generate an immense amount of network traffic  ]
> # [ as they are propagated to many hundreds of recipients.  ]
>
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>    with the message UNSUBSCRIBE hpux-devtools
> _________________________________________________________________
>

# [ list software deleted text/html attachment, 1.6 kb ]

# [ 1 attachments dropped, 1.6 kb.]

# [ Please do not post attachments to mailing lists.        ]
# [ They can generate an immense amount of network traffic  ]
# [ as they are propagated to many hundreds of recipients.  ]

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic