- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sharing Data using Message Queues between 32 B...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
тАО12-04-2003 09:43 AM
тАО12-04-2003 09:43 AM
Sharing Data using Message Queues between 32 Bit and 64 Bit
We are passing data using message queues between 32 Bit and 64 Bit Apps..
Our functions looks like this in 64 Bit
SendMsg(void * SendBuffer , long len , struc handle )
{
msgsnd(handle->msqid , sendBuffer , len , IPC_NOWAIT);
}
In 32 Bit it is recived as
RecMsg(void * RecvBuffer , long len , struc handle )
{
msgrcv(handle->msqid, RecvBuffer , len , ANY_MSG,MSG_NOERROR);
}
The messages are truncated when they are received in the 32 Bit app.
Any Help would be appreciated
Thanks in Advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:04 AM
тАО12-04-2003 10:04 AM
Re: Sharing Data using Message Queues between 32 Bit and 64 Bit
Plan B. I would compile a 32-bit bit program that does the initial msgget to create the message queue and then fork(), exec() the "real" 64-bit application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:10 AM
тАО12-04-2003 10:10 AM
Re: Sharing Data using Message Queues between 32 Bit and 64 Bit
Well both the apps are compiled on HPUX11i.
Do we still need to modify the Kernel params.
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 02:56 PM
тАО12-04-2003 02:56 PM
Re: Sharing Data using Message Queues between 32 Bit and 64 Bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 02:32 AM
тАО12-05-2003 02:32 AM
Re: Sharing Data using Message Queues between 32 Bit and 64 Bit
The msgmnb kernel tunable is currently set to 32K . The messages we are passing from the 64Bit app to the 32 Bit app are pretty small. Does the 64 Bit app pads a lot of additional stuff which breaks the boundry limits.
Just wanted to ensure that changing the msgmnb kernel tunable would resolve the issue since it would require a reboot etc.
Thanks