Solved

Ansyncronous I/O in Linux

Posted on 1998-11-12
1
253 Views
Last Modified: 2010-04-21
Please tell if asynchronous I/O is possible in Linux.
i.e if <aio.h> files are there in linux.
0
Comment
Question by:flower020397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
jos010697 earned 100 total points
ID: 2007801
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
reinstall 1 95
Linux : adding the new user with password option, 11 132
OpenLDAP Proxy to Active Directy 6 570
AIX 5.x set up arrow to recall 11 71
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question