cancel
Showing results for 
Search instead for 
Did you mean: 

spinlock in Hp-ux PA-RISC

RAMAKRISHNA SREEDHARA
Occasional Advisor

spinlock in Hp-ux PA-RISC

Hi,

I am new to this concept of spin-wait. I did work on semaphores and also posix unnamed semaphores. One of our developers suggested using spin-wait methodology.

I tried searching and came across some assembly code. At the same time, I found spinlock, spinunlock functions in hp-ux. Can I use them?

Any pointers or code-snippets you could suggest me?

Thanks
1 REPLY
Steven E. Protter
Exalted Contributor

Re: spinlock in Hp-ux PA-RISC

Shalom,

http://h21007.www2.hp.com/portal/download/files/unprot/itanium/spinlocks.pdf

Covers both hardware lines.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com