From: 100672.1073@compuserve.com (Rob Haigh)
Subject: Re: Asynchronous I/O & Internal DECthreads problem
Date: 1995/11/26 [thread overview]
Message-ID: <49ab5r$o3h@dub-news-svc-4.compuserve.com> (raw)
In-Reply-To: 48qo3t$atf@web.cae.ca
hoa@obelix.cae.ca (Hoa Dao) wrote:
>I have a small program that uses asynchronous I/O operations. The I/O
>requests are submitted sequentially (i.e. a request is not
>submitted until the previous one is finished). After one request is
>finished, aio_return() is called to free up the aiocb structure.
>However, when my program runs, I got the following error message when
>the second request is submitted:
etc.
>Any suggestion ???
I have had a similar problem. I traced it down to the program being
locked into memory with a mlock call. If you remove the reference to
future memory in the call to mlock it will start working again. Seems
like it can't grow the stack when it's locked into memory.
I think the Digital have fixed this with a patch to 3.2c.
Cheers,
Rob.
prev parent reply other threads:[~1995-11-26 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-20 5:00 Asynchronous I/O & Internal DECthreads problem Hoa Dao
1995-11-26 5:00 ` Rob Haigh [this message]
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