mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 17:37:35 +00:00
Kernel: Run the sync daemon once every second.
This is obviously not a final design, but 10 seconds was way too long.
This commit is contained in:
parent
8eedbbc9ca
commit
d4973842c9
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ VFS* vfs;
|
||||||
Process::create_kernel_process("syncd", [] {
|
Process::create_kernel_process("syncd", [] {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
Syscall::sync();
|
Syscall::sync();
|
||||||
sleep(10 * TICKS_PER_SECOND);
|
sleep(1 * TICKS_PER_SECOND);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Process::create_kernel_process("Finalizer", [] {
|
Process::create_kernel_process("Finalizer", [] {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue