comp.lang.c
[Top] [All Lists]

Re: Reentrant functions and memory allocation

Subject: Re: Reentrant functions and memory allocation
From: Morris Dovey
Date: Sun, 30 Mar 2008 09:37:39 -0500
Newsgroups: comp.lang.c

fmassei@xxxxxxxxx wrote:

> This is what I was worried about. I just want to write something that
> can be safely used in a multi-threaded project, if someone wants to.
> Should I consider to work only with pre-allocated memory? Doing this
> way the problem can be moved outside the library. Is this the only
> solution I have?

You're invited to take a look at

   http://www.iedu.com/mrd/c/getsm.c

-- 
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
                                www.iedu.com/DeSoto/">http://www.iedu.com/DeSoto/

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy