Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15782
| From | "Eric S. Raymond" <esr@thyrsus.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Request For Enhancement - TID variable |
| Date | 2019-12-26 10:37 -0500 |
| Message-ID | <mailman.1456.1577376286.1979.bug-bash@gnu.org> (permalink) |
| References | <20191226153751.587634704BBB@snark.thyrsus.com> |
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
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Request For Enhancement - TID variable "Eric S. Raymond" <esr@thyrsus.com> - 2019-12-26 10:37 -0500
csiph-web