A timeout with microsecond precision?



I noticed that g_timeout_add() using an argument with millisecond
precision.

However, I want to specify an callback function to be called every 30
microseconds.

Does glib offer this facility?
Or how could I achieve this in gtk?

I also noticed that Qt offers its timer with microsecond precision. Why
does glib offer one with millisecond precision?

Thanks for any replies.

---

Wei <ywhu iii org tw>
http://www.cis.nctu.edu.tw/~is84018/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]