home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22154 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.2 KB

  1. Path: sparky!uunet!ogicse!mintaka.lcs.mit.edu!micro-heart-of-gold.mit.edu!news.media.mit.edu!media-lab.media.mit.edu!delphi
  2. From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Closing files at interrupt time
  5. Message-ID: <1993Jan25.204808.11120@news.media.mit.edu>
  6. Date: 25 Jan 93 20:48:08 GMT
  7. Article-I.D.: news.1993Jan25.204808.11120
  8. Sender: news@news.media.mit.edu (USENET News System)
  9. Organization: M.I.T. Media Laboratory
  10. Lines: 17
  11.  
  12. I am writing a library of sound routines, but have recently run into a major
  13. problem. I am playing files using SndStartFilePlay asynchronously. In the 
  14. completion routine, I set my A5 to access my globals, get the fRefNum of the 
  15. file I was playing, and then call FSClose to close the file. The problem is, 
  16. every now and then, not at repeatable intervals, the machine will hang during that
  17. call to FSClose. I can get into MacsBug and look at the stack to verify that it
  18. is hanging during FSClose, but any attempt to exit to shell fails and I have
  19. to reboot the machine. 
  20.  
  21. If you have any idea what is going on, I'd appreciate it!
  22.  
  23. Thanks
  24.  
  25. Andrew Kass
  26. Speech Research Group
  27. MIT Media Lab
  28. delphi@media-lab.media.mit.edu
  29.