home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4442 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1015 b   |  27 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!munnari.oz.au!uniwa!newsman!fizzy!meek
  3. From: meek@fizzy.csu.murdoch.edu.au (Lindsay Meek)
  4. Subject: DosReadQueue and Timeouts
  5. Message-ID: <meek.714371000@fizzy>
  6. Summary: Help on API Interface
  7. Keywords: API Interface
  8. Sender: news@newsman.csu.murdoch.edu.au (News Man)
  9. Organization: Murdoch University
  10. Date: 21 Aug 92 04:23:20 GMT
  11. Lines: 14
  12.  
  13. Hello OS/2 people,
  14.     I'm trying to write a queue handler that incorperates the timeout
  15. feature available with semaphores i.e. DosSemWait(semaphore,timeout(ms))
  16.     I'm habving trouble getting DosReadQueue to suspend for a finite
  17. duration . Im using DosStartTimer and DosStopTimer and supplying the same
  18. semaphore as that used by the DosReadQueue function (in the hope that
  19. the Timer will signal on behalf of the DosReadQueue function). But it ain't
  20. working..
  21.     Has anybody had experience with this, or can suggest a method for
  22. doing it using the API calls?               
  23.  
  24. Thanks
  25.     Lindsay Meek (meek@fizzy.csu.murdoch.edu.au)
  26.  
  27.