home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: 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
-
- 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)
-
-