Commit graph

6 commits

Author SHA1 Message Date
Micke Prag
f7336b34f9 Rewrite our callback dispatcher. Instead of dynamically create new
threads for each callback they are now precreated when they are
registered. Each callback will now be called using the same thread each
time.
2014-01-08 13:55:02 +01:00
Micke Prag
5b5be387cd Include the directory when naming .h files. According to Google style guideline "build/include". 2012-06-19 12:30:49 +02:00
Micke Prag
1e6767fa65 Return an appropriate error code instead of true/false in tdUnregisterCallback(), closes #200 2012-04-13 11:22:47 +02:00
Micke Prag
148fd52c76 Create one generic callback dispatcher that can handle all our
callbacks.

This minimize code duplication and allows us much easier to add and
maintain callbacks.
2012-02-24 16:47:30 +01:00
Stefan Persson
f0a07fd424 Added CallbackMainDispatcher to TelldusCore namespace 2012-02-24 09:29:49 +01:00
Stefan Persson
c049b97a64 Dispatching of events in own thread, to somewhat counter problems with long running events. 2012-02-23 15:48:39 +01:00