[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: shared memory queue
- From: "Tristan Van Berkom" <tristan van berkom gmail com>
- To: "Luka Napotnik" <luka napotnik gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: shared memory queue
- Date: Mon, 6 Oct 2008 10:49:02 -0400
2008/10/6 Luka Napotnik <luka napotnik gmail com>:
> Hello.
>
> I have a problem that I need an GAsyncQueue shared among multiple
> processes.
> If I allocate a structure with shared memory and then allocate the
> GAsyncQueue with g_async_queue_new() to a structure member, is the queue
> shared or not? And if not, is there a way to do this?
No.
I guess it would be possible to design an IPC that had a similar
api, but the root of the issue is that you need to use sockets/pipes
to communicate between processes (while you might use a shared
memory slab for the actual data, thats just a detail).
Cheers,
-Tristan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]