Solved

Ansyncronous I/O in Linux

Posted on 1998-11-12
1
244 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now