bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Request For Enhancement - TID variable


From: Eric S. Raymond
Subject: Request For Enhancement - TID variable
Date: Thu, 26 Dec 2019 10:37:51 -0500 (EST)

In attempting to use GNU parallel, with some bash scripts, I
discovered I had a problem with tempfile collisions due to 
all of the thread having the same PID.

I was able to come up with a workaround, but...

RFE: bash should have a TID varuable that returns the vakue of gettid(2).

If the bash devs are too busy for this like the idea, I could write
the patch.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

During waves of terror attacks, Israel's national police chief will
call on all concealed-handgun permit holders to make sure they carry
firearms at all times, and Israelis have many examples where
concealed permit holders have saved lives.
        -- John R. Lott



reply via email to

[Prev in Thread] Current Thread [Next in Thread]