home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / lisp / mcl / 2098 < prev    next >
Encoding:
Text File  |  1993-01-25  |  786 b   |  20 lines

  1. Newsgroups: comp.lang.lisp.mcl
  2. Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!linus!linus.mitre.org!starbase!westling
  3. From: westling@starbase.mitre.org (Mark Westling)
  4. Subject: Calling MPW C code: is malloc safe?
  5. Message-ID: <westling.727999813@starbase>
  6. Sender: news@linus.mitre.org (News Service)
  7. Nntp-Posting-Host: starbase.mitre.org
  8. Organization: The MITRE Corporation
  9. Date: Mon, 25 Jan 1993 22:10:13 GMT
  10. Lines: 8
  11.  
  12. I'm calling MPW C code using MCL 2.0's foreign function
  13. interface.  My program bombs occasionally (but not
  14. consistently), and I suspect it's due to malloc calls. Is
  15. it safe to use the MPW memory allocation/deallocation
  16. calls in a Lisp environment, or should I create a static
  17. array and manage it all myself?
  18.  
  19. --Mark Westling
  20.