I am Dave Jing Tian, an Assistant Professor in the Department of Computer Science at Purdue University working on system security. My research involves embedded systems, operating systems, trusted and confidential computing, and hardware security and trust. All opinions are my own.
- 236,447 hits
All blogs on this website are licensed under a Creative Commons Attribution 4.0 International License.
Tag Archives: timer
KT – use kernel timers in the Linux kernel
Compared to start a timer directly in certain kernel thread which will make the thread sleep for a while, using a kernel timer may be much more desired without stopping the current working thread. This post demonstrates a live example … Continue reading
Posted in OS Tagged kernel, Linux, timer Leave a comment
timer queue – a way to handle multiple timers using one thread
This post introduces a general way to handle multiple timers using one thread using C. K.R.K.C. -daveti 1. what is timer? The essence of timer is eventually a thread (either Python or Java threads are actually mapped and executed as … Continue reading
Posted in Programming Tagged C, queue, thread, timer 3 Comments