home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2397 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.0 KB

  1. Path: sparky!uunet!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Sun Common Lisp & Foreign functions
  5. Date: 10 Sep 1992 15:39:14 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 15
  8. Message-ID: <18nq72INN6g9@early-bird.think.com>
  9. References: <1992Sep10.122629.8200@cs.joensuu.fi>
  10. NNTP-Posting-Host: telecaster.think.com
  11. Keywords: foreign functions
  12.  
  13. In article <1992Sep10.122629.8200@cs.joensuu.fi> prikala@cs.joensuu.fi ( Pasi Rikala) writes:
  14. >My question is: What am I doing wrong? Why is sleep interrupted? 
  15. >How can I tell lisp not to interrupt foreign functions when they 
  16. >seem to be sleeping?
  17.  
  18. Sun CL (like most Lucid CL ports) has a built-in scheduler for its
  19. multitasking facility.  Its timer is probably going off during the sleep.
  20.  
  21. Try calling the foreign function inside WITH-INTERRUPTIONS-INHIBITED.  I
  22. haven't tried this, though.
  23. -- 
  24. Barry Margolin
  25. System Manager, Thinking Machines Corp.
  26.  
  27. barmar@think.com          {uunet,harvard}!think!barmar
  28.