[C.CC USERS] Tick/Timer Drives It?

Aaron Ryan bringfire at gmail.com
Sun Jun 24 23:36:30 BST 2012


Hey All,

I am just wondering in an abstract sort of way...if I am designing code
that is basically "sense-respond," is the tick function, (or more
generally, some timer function) the primary means for initiating the
reading of a sensor, which in turn, cascades through whatever happens in
response to what is read.

I can only think of one other way right now, which has to do with watching
for changes in the sensor and initiating the response at the moment of
change.

The first is a top-down approach the other is more bottom-up.

Any thoughts on the advantages and disadvantages to both...and any
pertinent methods of implementation.


Kind Regards,
aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.concurrency.cc/pipermail/users/attachments/20120624/a92d1364/attachment.htm>


More information about the users mailing list