HP3000-L Archives

November 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 21 Nov 2000 11:01:58 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
At 08:41 21/11/00 +0100, Johan Harmsen wrote:

>In my application I use a message file which has multiple writers
>(can be anywhere between 4 and 250) and one reader. The writers write
>  commands into the message file, which are processed in a loop by
>the reading proces. All processes accessing this file open it with
>  the GMULTI option.

I'm not sure that you need the GMULTI option - I've never used it in this
situation.  Why do you need it?  From my recollection GMULTI forces all the
processes to share a single buffer AND a single pointer.  This might be
where you are getting into problems.

>  The reader uses a timeout (FCONTROL) to do some
>other processing when no messages are received within the timeframe.
>This normally works OK, but sometimes, after the application has
>been running for several hours, days or weeks and processing thousands
>  of messages, the reader does not notice the writing of new records
>  in the message file anymore. When this happens also the timeout does
>not seem to work anymore.
>  If I look at the reader process with debug I find it in what appears
>to be a normal message file read. If I look at the last error that occurred
>on the file (using the AIFFILELGET function), I find an error -1172.
>  Does anybody know where this error comes from and what it tries to
>tell me ? I can't find any information about it

John D. Alleyn-Day  [log in to unmask]
Alleyn-Day International Ltd.
Alleyn House, 15 Green Place, Oxford OX1 4RF, England
Tel: +44(0)7020-939408; Fax: +44(0)1865-200256
3 Friars Lane,  Mll Valley  CA 94941-3723  U.S.A.
Tel: +1-408-286-6421  http://www.Alleyn-Day.com

ATOM RSS1 RSS2