Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.unix.shell Subject: [OT] PIDs for Linux threads (was Re: pid ranges) Date: Mon, 7 Oct 2024 18:29:00 +0200 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 07 Oct 2024 18:29:02 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f00d5b6e2ae7099040d0a40c8d585b3d"; logging-data="1883138"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VlhK3/pZWBJTciIBuZ1OB" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:hxp+0Qu2QFy3G8hzT5m31ZgchH4= In-Reply-To: X-Enigmail-Draft-Status: N1110 Bytes: 1931 [ This is getting off-topic, sorry. ] On 07.10.2024 15:31, Richard Kettlewell wrote: > > _On Linux_ process IDs and thread IDs share the same number space which > changes the picture quite a bit: [...] This is interesting. Since processes are handled by the OS kernel what does that imply...? A common process/thread interface in Linux? Is that defined by POSIX threads, or is it something specific? Is there any good link to read more about that? (My thread times have long passed; I used it from C++, and there were a lot of things to consider when programming with threads back then.) Janis