Hi all,
I want to use Vala and Dbus for a project in which I need to exchange
information between objects about 4 Hz . The final target is to run the
software on an embedded device (with a limited CPU / RAM)
I performed some tests and I noticed that using Vala instead of plain C
requires
Hi Borja,
On Mon, 2012-06-04 at 13:58 +0200, Borja Rodríguez Diliz wrote:
I want to use Vala and Dbus for a project in which I need to exchange
information between objects about 4 Hz . The final target is to run the
software on an embedded device (with a limited CPU / RAM)
I performed some
inline: xs.jpeg// Nbr of object to register
int numberObjects=200;
DemoServer []myServers;
bool SEND_SIGNALS=true;
[DBus (name = net.prx.test)]
public class DemoServer : Object {
private int counterA;
private int counterB;
public void sendSignalA(){
if (SEND_SIGNALS){
Hi Jürg,
Thanks a lot for your quick response.
As your recommend, I've change my vala server to have only two timeout
sources (see attached code) but results are similar (about 13.3% CPU
used on my machine)
I don't think the problem is on the thread manipulation, timeouts, and
probably not