home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7471 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  1.3 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!u16244
  2. From: U16244@uicvm.uic.edu (David James Alexander Hanley)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Surrendering timeslice under DOS?
  5. Message-ID: <93010.071447U16244@uicvm.uic.edu>
  6. Date: 10 Jan 93 13:14:47 GMT
  7. References: <1993Jan9.045430.2626@wicat.com> <imD5wB3w165w@tcscs.UUCP>
  8. Organization: University of Illinois at Chicago
  9. Lines: 24
  10.  
  11. In article <imD5wB3w165w@tcscs.UUCP>, tcscs!zeta@src.honeywell.com (Gregory
  12. Youngblood) says:
  13. >
  14. >>kevin@wicat.com (Kevin Vigor) writes:
  15. >
  16. >> Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set
  17. >> 01680h will release the timeslice.
  18.  
  19.   Well, I tried this, and the program became REALLY slow.  The interrupt seemed
  20. to be giving up almost a half-a-second, far more than I wanted.  Why might
  21. this be?  I had in mind more like 1/100th of a second, so my program would
  22. respond realtime.
  23.  
  24. >>
  25. >Does anyone know how to do this in pascal?
  26.  
  27.    Which pascal?  It's different in every one.
  28.  
  29. -------------------------------------------------------------------------------
  30. "In every country and in every age, the priest has been hostile to liberty.
  31. He is always in alliance with the despot, abetting his abuses in return for
  32. protection to his own" - Thomas Jefferson, 1814
  33.  
  34. SEND E-MAIL TO : hanley1@earth.eecs.uic.edu
  35.