🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #909

DosReadQueue and Timeouts

#909
From: Lindsay Meek
Date: Fri, 21 Aug 1992 04:23
13 lines
1039 bytes
Hello OS/2 people,
	I'm trying to write a queue handler that incorperates the timeout
feature available with semaphores i.e. DosSemWait(semaphore,timeout(ms))
	I'm habving trouble getting DosReadQueue to suspend for a finite
duration . Im using DosStartTimer and DosStopTimer and supplying the same
semaphore as that used by the DosReadQueue function (in the hope that
the Timer will signal on behalf of the DosReadQueue function). But it ain't
working..
	Has anybody had experience with this, or can suggest a method for
doing it using the API calls?               

Thanks
	Lindsay Meek (meek@fizzy.csu.murdoch.edu.au)
Technical Details
Message-ID: <meek.714371000@fizzy>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!newsman!fizzy!meek

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!newsman!fizzy!meek
From: meek@fizzy.csu.murdoch.edu.au (Lindsay Meek)
Subject: DosReadQueue and Timeouts
Message-ID: <meek.714371000@fizzy>
Summary: Help on API Interface
Keywords: API Interface
Sender: news@newsman.csu.murdoch.edu.au (News Man)
Organization: Murdoch University
Date: 21 Aug 92 04:23:20 GMT
Lines: 14