Opened 12 years ago

Closed 12 years ago

#5072 closed Support Requests (invalid)

Using boost interprocess message_queue with managed_windows_shared_memory

Reported by: thiago@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Severity: Problem
Keywords: message_queue Cc:

Description

Hi,

I'm testing the message_queue with multiple user context. But when I run the client (that send the message) in a limited user context and the server (that create the queue and receive the messages) I run in a service context.

The problem is: the client site doesn't have access to the file created by the server to make the comunication work.

So with a litle research, I realized that I could use the managed_windows_shared_memory to stop using files and use native shared memory from windows. But I don't know how and if it is possible with message_queue.

So the big question is:

Is possible to use native shared memory with message_queue? If yes, how I do this?

Thanks.

Change History (1)

comment:1 by Ion Gaztañaga, 12 years ago

Resolution: invalid
Status: newclosed

You can change permissions now (Boost 1.47) in message queue constructors. With windows shared memory you can have the same permission problems.

Note: See TracTickets for help on using tickets.