Using Linux RTC for Wake-Up Functionality

In Linux systems, we can use crontab to set periodic tasks, such as scheduled shutdowns, but how do we schedule wake-ups? After 2000, many computer motherboards have supported the RTC (real-time clock) functionality. If the corresponding BIOS program supports the relevant settings, then it can be configured in the BIOS. If not, or if you … Read more

Is the Unexpected Wake-up of Condition Variables in Linux C a Bug?

Is the Unexpected Wake-up of Condition Variables in Linux C a Bug?

Hello everyone, I am the Intelligence Guy~ Most of you must have used condition variables (<span><span>pthread_cond_t</span></span>) in embedded Linux system programming. However, when I first used them, I was not aware of the issue of false wake-ups. You might have suspected this was a bug in Linux, but later research revealed that this is not … Read more