Ansyncronous I/O in Linux

Please tell if asynchronous I/O is possible in Linux.
i.e if <aio.h> files are there in linux.
flower020397Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jos010697Connect With a Mentor Commented:
You could have a look at the man pages for ioctl(). This system call enables
(simple) asynchronous io. If a stream has its FIOASYNC attribute set, the
process is signaled (by means of a SIGIO signal) when io can be performed
on  a stream.

On top of simple scenario, you could add threads (have a look at the pthread
man pages), where one thread takes care of the io stuff, while the other(s)
continue doing whatever they have to do ...

kind regards,

Jos aka jos@and.nl

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.