title: which is the best method to poll for a variable [C/Linux]
body: <p>I have to check if a variable is changed from a database(custom) every second using C/Linux. I would like to know the methods available for polling a variable in C/Linux. Thanks</p>