← Back to context Comment by 1718627440 4 months ago > Unix is dumbI don't know. Now async I/O is all the rage and that is the same idea. 4 comments 1718627440 Reply wmf 4 months ago If they had a sync() system call and a wait_for_sync_to_finish() system call then you'd be right. But they didn't have those. 1718627440 4 months ago https://news.ycombinator.com/item?id=46268127 (To quote yourself :-) ) marcosdumay 4 months ago The syscall is literally called "sync", though. 1718627440 4 months ago I think it is a way of the OS to shoehorn async into a synchronously written application.
wmf 4 months ago If they had a sync() system call and a wait_for_sync_to_finish() system call then you'd be right. But they didn't have those. 1718627440 4 months ago https://news.ycombinator.com/item?id=46268127 (To quote yourself :-) )
marcosdumay 4 months ago The syscall is literally called "sync", though. 1718627440 4 months ago I think it is a way of the OS to shoehorn async into a synchronously written application.
1718627440 4 months ago I think it is a way of the OS to shoehorn async into a synchronously written application.
If they had a sync() system call and a wait_for_sync_to_finish() system call then you'd be right. But they didn't have those.
https://news.ycombinator.com/item?id=46268127 (To quote yourself :-) )
The syscall is literally called "sync", though.
I think it is a way of the OS to shoehorn async into a synchronously written application.