🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by bill davidsen Tue, 14 Sep 1999 00:00
pthreads in 2.3
#39829
Author: bill davidsen
Date: Tue, 14 Sep 1999 00:00
17 lines
1304 bytes
I see that 2.3 is doing some checking for pthreads, and has some stuff
in the library code sort of which might be using them. However, the code
is nice and clean, unsullied by comments explaining it, and abstract, so
it's not all that easy to see. It looks as if it would use threads, but
I never see them in status.

Anyone care to comment on what is or isn't happening here? I see no
threads in action with 30+ incoming connections, what triggers them, if
anything?

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...


Re: pthreads in 2.3
#39801
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
27 lines
1639 bytes
bill davidsen <davidsen@tmr.com> writes:

> I see that 2.3 is doing some checking for pthreads, and has some stuff
> in the library code sort of which might be using them. However, the code
> is nice and clean, unsullied by comments explaining it, and abstract, so
> it's not all that easy to see. It looks as if it would use threads, but
> I never see them in status.

> Anyone care to comment on what is or isn't happening here? I see no
> threads in action with 30+ incoming connections, what triggers them, if
> anything?

There is no threading support in INN at present.

Some configuration for threading got pulled in via the merger with
Clayton's source base, and has so far been left in.  I'll probably disable
it (but not remove it) until we actually have threaded code in the source
base, since at present it's just confusing.

I have some ideas and tentative plans for adding threading to INN but not
a lot of free development time at the moment, so I've been tackling
simpler stuff instead.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: pthreads in 2.3
#39851
Author: Russ Allbery
Date: Wed, 15 Sep 1999 00:00
15 lines
1204 bytes
bill davidsen <davidsen@tmr.com> writes:

> Please don't bother, there's so very much in 2.3 that's confusing, build
> your karma and fix the man pages, or at least completely remove the
> parts which refer to something else.

It's on the list.  I'd really like to get better tools for *writing* man
pages before I launch into a full-blown rewrite, which is why I haven't
made a lot of progress on that recently.  I was going to try to hunt up
some time to work on the general problem this weekend.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: pthreads in 2.3
#39905
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
31 lines
2054 bytes
In article <ylg10hs2tn.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| There is no threading support in INN at present.
| 
| Some configuration for threading got pulled in via the merger with
| Clayton's source base, and has so far been left in.  I'll probably disable
| it (but not remove it) until we actually have threaded code in the source
| base, since at present it's just confusing.

  Please don't bother, there's so very much in 2.3 that's confusing,
build your karma and fix the man pages, or at least completely remove
the parts which refer to something else.

  The best doc I got on 2.3 makehistory was in an email, something like
"makehistory doesn't make history, it's used to make overview. makedbz
is used to build the history database." Currently both the man page and
internal usage() give incorrect info. inn.conf is also vastly unlike the
code or the file, there is still a lot of actived reference here and
there, etc.

  I'm not faulting this, but the 2.3 release is actually pretty stable,
at least it was on Aug 30 <g>, and some docs would be very helpful.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...


Re: pthreads in 2.3
#39911
Author: Richard Michael Todd
Date: Wed, 15 Sep 1999 00:00
16 lines
1468 bytes
davidsen@tmr.com (bill davidsen) writes:

> 
>   The best doc I got on 2.3 makehistory was in an email, something like
> "makehistory doesn't make history, it's used to make overview. makedbz
> is used to build the history database." Currently both the man page and
> internal usage() give incorrect info. inn.conf is also vastly unlike the
> code or the file, there is still a lot of actived reference here and
> there, etc.

Not quite.  Makehistory makes either the history file, the overview data,
or both (depending on what options you give.)  Makedbz just rebuilds the
history.dir/history.pag files.


Re: pthreads in 2.3
#39922
Author: bill davidsen
Date: Thu, 16 Sep 1999 00:00
17 lines
1417 bytes
In article <yl67llsc8kw.fsf@intrepid.ecn.ou.edu>,
Richard Michael Todd  <rmtodd@intrepid.ecn.ou.edu> wrote:

| Not quite.  Makehistory makes either the history file, the overview data,
| or both (depending on what options you give.)  Makedbz just rebuilds the
| history.dir/history.pag files.

  Absolutely, but the note was the first thing which even hinted at
makedbz existing. Things are better now.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...


Re: pthreads in 2.3
#39936
Author: bill davidsen
Date: Thu, 16 Sep 1999 00:00
33 lines
2372 bytes
In article <7rp6d8$th$1@inn.do.mms.mt.nec.co.jp>,
Katsuhiro Kondou  <kondou@uxd.fc.nec.co.jp> wrote:

| Hm, can you point which man pages should be fixed?
| I think most of them are fixed already for the
| current snaphost.

  One of the problems with development stuff is that it's so easy to
have someone fix something and than note that you are talking about an
obsolete version :-( When I posted, the version I am running was about
a week old, and makehistory had 17 non-existant options documented in
usage(), as well as 3 options not documented, 2 somewhat mis-documented
and a raft of --longform options which simply didn't exist. The man
page had 7 non-options documented, 3 valid options not documented, and
1 option mis-documented.

  I don't know when your changes went in, but the snapshot of 3am today
appears correct (unless I missed something) other than '-I" not
appearing in the usage(), and one typo in the man page which is not
misleading. I'll mail that one back after I find it again. I checked
the source, not roff formatted output or output of printf, but modulo
any page layout issues these corrections look very fine, indeed.

  Dare I hope that if I mention any other problems someone will fix
them just for the pleasure of telling me it's old news? My ego can take
that if that's all it takes to get stuff fixed ;-)

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...

Re: pthreads in 2.3
#39938
Author: Katsuhiro Kondou
Date: Thu, 16 Sep 1999 00:00
17 lines
1713 bytes
In article <7rof5d$jjl$1@newssvr02.news.prodigy.com>,
	davidsen@tmr.com (bill davidsen) wrote;

}   The best doc I got on 2.3 makehistory was in an email, something like
} "makehistory doesn't make history, it's used to make overview. makedbz
} is used to build the history database." Currently both the man page and
} internal usage() give incorrect info. inn.conf is also vastly unlike the
} code or the file, there is still a lot of actived reference here and
} there, etc.

Hm, can you point which man pages should be fixed?
I think most of them are fixed already for the
current snaphost.
-- 
Katsuhiro Kondou

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads