2013/3/2 Łukasz Mierzwa <[email protected]> > * wake up every N second (N - carbon freq)
It's just important to wake up *exactly* every N seconds, with as little overhead as possible. This could be dedicated thread or some evened way (there is a alarm subsystem in linux, I'm not sure if usable for such tasks). And after waking up execute carbon_push_stats() for current wall clock time elsewhere, in a thread. -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
