[maemo-developers] Disable networking and exception overhead

From: andras toth grossespinne at gmail.com
Date: Sat Apr 4 15:51:52 EEST 2009
Hello!

I'm trying to deal with cases when connection is lost, and I want to
handle this situation with exceptions. I know that exceptions casude
overhead (in fact libraries for Maemo are compared without them),
howerver I did not find any source about overhead of exceptions in
Maemo (just overhead of C++ exceptions in general). Would be thankful
for a good source on this :)

The other question is whether there is a way to temporally disable
networking, but only for the Scratchbox environment. I need this in
order to trigger the situation when network fails. Of course I can
enable/disable the network of the whole system, but I would like to
know whether there is a more effective solution for debugging network
loss situation.

Thanks,

Andras

More information about the maemo-developers mailing list