Page 1 of 1

Semaphore

Posted: Fri May 08, 2009 9:48 am
by johnnie
hi all,

I need some help in Semaphore's. The Semaphore's provided in wxWidgets is only limited to threads.

Does Widgets provides the functionality of semaphore's for different process, Like those in UNIX ?

Regards
Johnnie Alan J

Posted: Fri May 08, 2009 4:01 pm
by Frank
Never used them, but after reading the docs: No, they don't.

For interprocess use you need a named mutex, wich is not supported by wx.

Posted: Sat May 09, 2009 11:07 am
by johnnie
Frank wrote: For interprocess use you need a named mutex, wich is not supported by wx.
do we have any method for interprocess communication.


Regards
Johnnie Alan J

Posted: Tue May 12, 2009 12:04 pm
by Frank
With WX? Not that I'm aware of.

Outside of WX? Yeah, many. For starters there's boost::interprocess

Posted: Fri May 22, 2009 8:58 am
by Kraymer
There is a section about inter-process communicatiion in the wiki: http://wiki.wxwidgets.org/Inter-Thread_ ... munication

I haven't used it so I can't tell if it's correct. But maybe it's a place to start if you still want to stick with wx for this purpose.