• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: heap memory among shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heap memory among shared libraries


  • Subject: Re: heap memory among shared libraries
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 26 Sep 2001 11:08:06 +0200

Jeff,

>>>>>> Jeff Howe (JH) wrote at Tue, 25 Sep 2001 17:32:32 -0400:
JH> If I have two shared libraries, say, two frameworks used in
JH> the same application, is it safe to malloc (or new) an object
JH> in one framework, and free (or delete) it in the other one?

It is. There's just one heap, regardless which piece of code uses it.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >heap memory among shared libraries (From: Jeff Howe <email@hidden>)

  • Prev by Date: Re: examining keyboard state ?
  • Next by Date: Adding custom inputs to NSRunLoop
  • Previous by thread: heap memory among shared libraries
  • Next by thread: Re: heap memory among shared libraries
  • Index(es):
    • Date
    • Thread