Reputation: 1059
Could someone please explain the differences between posix AIO and freebsd AIO? Seems the functions are the same, aio_read/aio_write.
I understand that linux native AIO is only available in Linux, and uses io_setup/io_submit, etc
Upvotes: 4
Views: 1125
Reputation: 34421
FreeBSD AIO is also kernel based, which means it doesn't try to emulate asynchronous operations by spawning user-mode thread and running IO operations there.
As the man page says:
the calling thread invokes one system call to request an asynchronous I/O operation.
Upvotes: 1