mirror of https://github.com/F-Stack/f-stack.git
When entering the softclock function for the first time,ticks is 2147423648,cc_softticks is 0.
Approximately 30 seconds later, ticks and cc_softticks become equal, allowing the while loop to be exited.
This commit is contained in:
parent
0f015b3f5d
commit
e12daec8ec
|
@ -185,8 +185,9 @@ init_param1(void)
|
|||
* Arrange for ticks to wrap 10 minutes after boot to help catch
|
||||
* sign problems sooner.
|
||||
*/
|
||||
#ifndef FSTACK
|
||||
ticks = INT_MAX - (hz * 10 * 60);
|
||||
|
||||
#endif
|
||||
vn_lock_pair_pause_max = hz / 100;
|
||||
if (vn_lock_pair_pause_max == 0)
|
||||
vn_lock_pair_pause_max = 1;
|
||||
|
|
Loading…
Reference in New Issue