java - Timer Event Impl / Lib -


this question has answer here:

i have create timer, firing event on elapsed timespan. easy write runnable busy wait loop. easy include sleep statement busy waiting prevent massive busy waiting. need solution precise still performance friendly. have suggestions how implement it? guess pretty easy using hack causing interruptedexceptions dont rly know. there library offering functionality in generic way? pretty limited java. although, if there arguments use other language impls try jna.

the scheduledexecutorservice jdk offers functionality


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -