home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / intervie / 3221 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.windows.interviews
  2. Path: sparky!uunet!stanford.edu!FOXTROT.CCMRC.UCSB.EDU!doug
  3. From: doug@FOXTROT.CCMRC.UCSB.EDU (Douglas Scott)
  4. Subject: debugging calls to Resource: :unref()
  5. Message-ID: <9211191850.AA27518@foxtrot.ccmrc.ucsb.edu>
  6. Sender: news@shelby.stanford.edu (USENET News System)
  7. Organization: Internet-USENET Gateway at Stanford University
  8. Date: Thu, 19 Nov 1992 18:50:16 GMT
  9. Lines: 17
  10.  
  11. Is there any way to makes all calls to Resource::unref() call delete  
  12. immediately instead of queuing for later deletion?  I have tried  
  13. setting Resource::defer(false) at the beginning of my program, but  
  14. apparently this gets reset somewhere else in the InterViews code  
  15. along the way, because Resources are still getting queued.  I need to  
  16. flush these *every* time I unreference something, because I have  
  17. otherwise untraceable bugs in my code--i.e., I get crashes during  
  18. calls to destructors, but cannot determine what is being destroyed,  
  19. because it is asynchronous.
  20.  
  21. Thanks!
  22.  
  23. ---
  24. Douglas Scott                              (805)893-8352
  25. Center for Computer Music Research and Composition
  26. University of California, Santa Barbara
  27. Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>
  28.