This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Question
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: mail_lists at mail dot ru
- Cc: newlib at sources dot redhat dot com
- Date: Mon, 29 Sep 2003 17:21:35 -0400
- Subject: Re: Question
- Organization: Red Hat Inc.
- References: <3F72B128.7080903@mail.ru>
There currently isn't an interface for adding user data to the newlib reentrancy
structure. Are you looking for thread-local storage (tls)? If so, this is
provided already via gcc.
-- Jeff J.
Artem B. Bityuckiy wrote:
Hello. Will anybody answer my question, please?
I need to dynamically allocate some data structure per process when it
is being created and to save the pointer to this data structure in reent
structure. Please, point me the place (file/function) where I can do
this. Can I use malloc for this goal?
Best Regards, Artem B. Bityuckiy.