Article View: comp.lang.lisp.mcl
Article #666Calling MPW C code: is malloc safe?
From: Mark Westling
Date: Mon, 25 Jan 1993 22:10
Date: Mon, 25 Jan 1993 22:10
8 lines
805 bytes
805 bytes
I'm calling MPW C code using MCL 2.0's foreign function interface. My program bombs occasionally (but not consistently), and I suspect it's due to malloc calls. Is it safe to use the MPW memory allocation/deallocation calls in a Lisp environment, or should I create a static array and manage it all myself? --Mark Westling
Technical Details
Message-ID:
<westling.727999813@starbase>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!linus!linus.mitre.org!starbase!westlingShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.lisp.mcl Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!linus!linus.mitre.org!starbase!westling From: westling@starbase.mitre.org (Mark Westling) Subject: Calling MPW C code: is malloc safe? Message-ID: <westling.727999813@starbase> Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: starbase.mitre.org Organization: The MITRE Corporation Date: Mon, 25 Jan 1993 22:10:13 GMT Lines: 8