Re: [Vala] Libsoup websockets

2016-09-21 Thread Guillaume Poirier-Morency
In general, with GIO, you don't need to run anything in a subprocess. Keeping it single-threaded and let async I/O dictate your concurrence model. One really nice way to scale on multi-core is to notably use subprocesses through fork. Once you listen, you can fork before launching loops.

Re: [Vala] Libsoup websockets

2016-09-21 Thread Baptiste Gelez
Le 2016-09-21 15:29, Guillaume Poirier-Morency a écrit : Le mercredi 21 septembre 2016 à 15:21 +0100, Baptiste Gelez a écrit : Hi everyone, I'm creating a little app that should be able to communicate with other  processes (both sending and receiving messages). I first tried to do it  by

Re: [Vala] Libsoup websockets

2016-09-21 Thread Guillaume Poirier-Morency
Le mercredi 21 septembre 2016 à 15:21 +0100, Baptiste Gelez a écrit : > Hi everyone, > > I'm creating a little app that should be able to communicate with > other  > processes (both sending and receiving messages). I first tried to do > it  > by launching child processes and sending/receving

[Vala] Libsoup websockets

2016-09-21 Thread Baptiste Gelez
Hi everyone, I'm creating a little app that should be able to communicate with other processes (both sending and receiving messages). I first tried to do it by launching child processes and sending/receving messages with stdout/stdin. But I didn't find how to receive a signal when the child