×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    27

    Question Is malloc/free thread-safe in Open C ?

    Hi all,
    I am newbie about Symbian.
    I am confusing about malloc/free or new/delete usage with symbian thread.
    In the wiki article, User::Alloc() is not thread-safe in a shared heap thread creation mode. I understood this,
    And my questions are:
    1. Can i use shared heap memory address in *pthread* ?
    2. Should i sync malloc/free or new/delete operation in that thread ?

    Thx in advance.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Is malloc/free thread-safe in Open C ?

    Hi,

    I would like to kindly ask you to post anything twice in this forum...


    BR
    STeN

Similar Threads

  1. Error on "emulator"
    By zhang2008 in forum Symbian
    Replies: 2
    Last Post: 2006-10-08, 16:55
  2. why dynamic arrays are not thread safe
    By saurabh_gyl in forum Symbian
    Replies: 7
    Last Post: 2005-11-03, 17:03
  3. Audio & Thread Error
    By TrungThanhMtad in forum Symbian
    Replies: 1
    Last Post: 2005-10-17, 03:22
  4. Audio and Thread
    By TrungThanhMtad in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-10-17, 03:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×