Polling in Embedded Systems