🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41525

Re: NoCeM & INN2.3

#41525
From: Kai Henningsen
Date: Sat, 13 Nov 1999 00:00
33 lines
2239 bytes
andrew+news@supernews.com (Andrew)  wrote on 04.11.99 in <slrn8244io.42i.andrew+news@uk21.supernews.com>:

> In article <7vt2nm$dkv$1@newssvr02.news.prodigy.com>, bill davidsen wrote:
> >In article <slrn821emt.edk.andrew+news@uk21.supernews.com>,
> >Andrew <andrew@supernews.com> wrote:
> >
> >| The main problem with fcntl and threads is that fcntl locks don't
> >| work between threads in the same process; any lock acquired via
> >| fcntl belongs to the whole process, not to the calling thread.
> >
> >I assume you mean user level threads (MIT style) rather than kernel
> >thread (Linux style).
>
> No, I mean threads as defined by the relevent standards.
>
> If Linux has things called "threads" that don't share resources like file
> descriptors, file locks, working directory etc., then they are nonstandard
> and irrelevent to me.

Linux has both, of course. Or to be more precise, you can control what's  
shared through flags to the clone() syscall, and that's what the POSIX  
thread implementing library (LinuxThreads) uses.

*Of course* you share file descriptors when doing POSIX threads under  
Linux, with real kernel-level threads.

Kai
--
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Technical Details
Message-ID: <7SnpPLgHw-B@khms.westfalen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3819A774.9C57FDCA@boerde.de> <7vpog2$2qm$1@nnrp1.deja.com> <slrn821emt.edk.andrew+news@uk21.supernews.com> <7vt2nm$dkv$1@newssvr02.news.prodigy.com> <slrn8244io.42i.andrew+news@uk21.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <7SnpPLgHw-B@khms.westfalen.de>
Subject: Re: NoCeM & INN2.3
Date: Sat, 13 Nov 1999 00:00:00 +0000
From: kaih=7SnpPLgHw-B@khms.westfalen.de (Kai Henningsen)
References: <3819A774.9C57FDCA@boerde.de> <7vpog2$2qm$1@nnrp1.deja.com> <slrn821emt.edk.andrew+news@uk21.supernews.com> <7vt2nm$dkv$1@newssvr02.news.prodigy.com> <slrn8244io.42i.andrew+news@uk21.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 548159601
X-Fix-Your-Modem: +++ATS2=255&WO1
Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
Organization: Organisation? Me?! Are you kidding?
X-No-Junk-Mail: I do not want to get *any* junk mail.
Newsgroups: news.software.nntp