473,406 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

[help]how to implement a linux message queue in windows?

14
hello,
I'm doing some job concerning code migration from linux to windows,one of the handicaps is the message queue,which is used to do interprocess communication.I've tried several ways under windows such like pipes ,mailslot and sending message to a window(SendMessage then GetMessage),but it can't reach the performances of the linux's related system calls.
I've got no time to write the message queue source code of my own,through the shared memory mechanism,which I know is theoretically feasible.

what else can I do? Is there a source ready-made?
thanks in advance~
-yogo
Oct 22 '08 #1
1 3388
pootle
68
Hi,

You might try the boost signals library, see
http://www.boost.org/doc/libs/1_36_0/doc/html/signals.html
It has the advantage of being supported on many platforms *nix/Windows and with many compilers.

Regards.



hello,
I'm doing some job concerning code migration from linux to windows,one of the handicaps is the message queue,which is used to do interprocess communication.I've tried several ways under windows such like pipes ,mailslot and sending message to a window(SendMessage then GetMessage),but it can't reach the performances of the linux's related system calls.
I've got no time to write the message queue source code of my own,through the shared memory mechanism,which I know is theoretically feasible.

what else can I do? Is there a source ready-made?
thanks in advance~
-yogo
Oct 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: thejackofall | last post by:
Hi I have a MSMQ message queue in a Windows Service. When a message arrives in the queue locally, an event is generated and the event handler handles it. However, if a message arrives in the...
2
by: Tony Hamill | last post by:
Hi, can somebody provide me with the correct syntax for creating a message queue in C#. I have private void button1_Click(object sender, System.EventArgs e) { // C# try{
2
by: Steve Lutz | last post by:
Hi All, I am trying to read and write to a message queue. (System.Messaging) I can read and write to a queue. However, the consummers of the queue messages are going to be a mixed bag of...
3
by: Brian Keating | last post by:
hello, doesn anyone know how to deploy message queues? I've got a program which uses message queues and i wish to deploy it, one click deployment in vs2005 doesn't allow me to specify message...
0
by: Marcus | last post by:
Hello All, I am trying to create a private MSMQ message queue on a remote application server from an asp.net application using the following code: Dim queue As MessageQueue queue =...
5
by: Ikkezelf | last post by:
Hi, I was wondering if it's possible to write a message in the windows message queue by means of c. Already searched a lot through this newsgroup and others. I noticed that it is possible...
2
by: hc0605 | last post by:
Hi everyone, I am a newbie to GUI application, and I need help in understanding some concepts: For a Windows-based GUI application, the system maintains a single system message queue. Mouse...
3
by: Ahmad Jalil Qarshi | last post by:
Hi, I have developed an application in C on IBM AIX 5.2. Its using multiple Message Queues to share data between different processes. I am using following functions to send/receive messages...
0
by: thajudeen | last post by:
Hi , I am able to send a text file (.txt) to a message queue (MSMQ). But i am not able to receive the .txt file from the message queue. Please help how to proceed. I am Using BodyStream...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.