This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
lock/unlock in newlib
- To: newlib at sources dot redhat dot com
- Subject: lock/unlock in newlib
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Thu, 09 Aug 2001 08:08:22 -0500
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
I am curious if newlib has reached the point where providing
mutex interface code (*lock, *unlock) is sufficient to make it
thread safe. The documentation makes it look like it only covers
malloc and setenv/getenv which means the reentrancy structure
still has to be switched for other issues.
Is this correct? If lock/unlock covers everything, I would
like to use that mechanism.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985