- Better timer for Windows platforms

- Made alarmed volatile for better Windows compatibility
This commit is contained in:
Paul Bakker 2011-04-24 15:28:55 +00:00
parent a755ca1bbe
commit 2eee902be3
2 changed files with 15 additions and 2 deletions

View file

@ -39,7 +39,7 @@ struct hr_time
extern "C" {
#endif
extern int alarmed;
extern volatile int alarmed;
/**
* \brief Return the CPU cycle counter value