Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: w2zhang@neumann.uwaterloo.ca (Weiye (Wayne) Zhang)
Subject: ? asynchronous read: aio_read ()
Date: 1995/04/05	[thread overview]
Message-ID: <D6JC1L.K3K@undergrad.math.uwaterloo.ca> (raw)

Hi everybody,

I got a problem on using asynchronous read ("aio_read()") in UNIX environment.
Any suggestions will be very helpful to me.

I use asynchronous reads in my C program on DEC OSF/1 V2.0 (on an alpha machine). When I issue more than 64 asynchronous reads using aio_read(), the 65th call of aio_read() will be blocked and failed. Even if I use aio_read() in the synchronous way, i.e., to issue the next aio_read after the previous aio_read has read the data into a buffer, the 65th aio_read still fails. So I can not call aio_read() more than 64 times in one process, but my experiment requires thousands of aio_read.

Besides the man page, I could not find any documents about aio_read.
On DEC, it seems that aio_read() is implemented using threads. I can not
find anything further. Any info may help me to find my way out. I'm looking
forward to your comments.

Thank you for your time.

-- Wayne
_____________________________________________________________________________

Weiye (Wayne) Zhang                    email : w2zhang@bluebox.uwaterloo.ca
Dept. of Computer Science              office: Data Structures Lab (DC 2306D)
Univ. of Waterloo                      phone : (519)-888-4567 x 6107 (o)
Waterloo, Ont.                         http://bluebox.uwaterloo.ca/~w2zhang
Canada, N2L 3G1                        supervisor:  Dr. Paul Larson




             reply	other threads:[~1995-04-05  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-05  4:00 Weiye (Wayne) Zhang [this message]
1995-04-12  4:00 ` ? asynchronous read: aio_read () Jeffrey M. Denham
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox