Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even more portability and performance of your code #49

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Roman-Koshelev
Copy link
Contributor

No description provided.

POSIX asynchronous I/O is very sub-optimal. They create threads,
dynamically allocate memory, and invoke a lot of system calls (which
set the signal mask, priority, and more). Additional locks are also
possible (if the AIO is using someone else). Moreover, they are not
portable.
Apart from portability, it also provides more guarantees (for example,
the write system call does not guarantee that the entire buffer will be
written, unlike fwrite, which guarantees that the entire buffer will be
written without errors).
@Roman-Koshelev
Copy link
Contributor Author

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant