GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX semop 32 vs 64 bit
Operating System - HP-UX
1848824
Members
7584
Online
104037
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 06:44 PM
03-30-2005 06:44 PM
Hi,
I am developing a multi task (fork) program that uses semaphore to prevent concurrent access on some resources. On a 32 bit compilation, the process can obtain the semaphore on semop() but on a 64 bit compilation of the same code base, semop() would either "hang" there waiting forever or if IPC_NOWAIT is specified, it will return with EAGAIN.
Is there something I need to do when compile under +DD64 for semop()? semget() and semctl() correctly obtain and release the semaphore though, as can be seen using ipcs -s.
Any help is appreciated.
Thanks.
Yours truly,
Wei-Chong.
I am developing a multi task (fork) program that uses semaphore to prevent concurrent access on some resources. On a 32 bit compilation, the process can obtain the semaphore on semop() but on a 64 bit compilation of the same code base, semop() would either "hang" there waiting forever or if IPC_NOWAIT is specified, it will return with EAGAIN.
Is there something I need to do when compile under +DD64 for semop()? semget() and semctl() correctly obtain and release the semaphore though, as can be seen using ipcs -s.
Any help is appreciated.
Thanks.
Yours truly,
Wei-Chong.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 11:23 PM
- Tags:
- semop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 11:26 PM
03-30-2005 11:26 PM
Re: HP-UX semop 32 vs 64 bit
This is a good link to start at http://h21007.www2.hp.com/dev/
live free or die
harry d brown jr
live free or die
harry d brown jr
Live Free or Die
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP