PICED logic - heap memory

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by leeandj, Oct 31, 2007.

  1. leeandj

    leeandj

    Joined:
    Apr 13, 2006
    Messages:
    39
    Likes Received:
    0
    Location:
    Park City, UT
    Can you tell me what happens to heap memory in the event that the C-Touch experiences an unexpected shut-down, such as a power outage?

    e.g. if memory is allocated using the 'new' statement during initialisation, and subsequently there is a power outage before the corresponding 'free' statement has been executed, does this memory get released automatically?

    Thanks,
    LeeAndJ
     
    leeandj, Oct 31, 2007
    #1
  2. leeandj

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,397
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    Yes, it is released.
     
    ashleigh, Oct 31, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.