3 ms·
> which would be trivial to detect by an application by checking if guard values were set to zero. if(data->guard != 0) { // Hibernation happens he
by user-the-name 5y ago
> which would be trivial to detect by an application by checking if guard values were set to zero.
if(data->guard != 0) {
// Hibernation happens here.
process(&data);
}
- josefx 5y agoYou would have to check the guard after process and throw away the result if guard changed. Edit: I think something similar is used to avoid time related system calls, the values are just mapped into the application address space and the kernel updates time and guard values concurrent to the application.