[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] use unlocked stdio functions
From: |
Chet Ramey |
Subject: |
Re: [PATCH] use unlocked stdio functions |
Date: |
Wed, 14 Feb 2024 10:59:57 -0500 |
User-agent: |
Mozilla Thunderbird |
On 2/5/24 10:47 PM, Grisha Levit wrote:
Bash makes many calls to stdio functions that may have unlocked_stdio(3)
equivalents. Since the locking functionality provided by the regular
versions is only useful in multi-threaded applications, it probably makes
sense for Bash to use the *_unlocked versions where available.
Thanks for the patch; this looks like a great idea.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/