Article View: news.software.readers
Article #70712[slrn] nntplib: nntp_allocate_nntp
From: Jurriaan (note: this is a workin...
Date: Thu, 18 Jan 2001 11:38
Date: Thu, 18 Jan 2001 11:38
24 lines
1781 bytes
1781 bytes
Why is static NNTP_Type nn; used to allocate space for a server-object? I'm busy trying to convince slrnpull it should pull it's mail multi-threaded, and with this, it was allocating each of my newsserver-objects in the same place - which made for interesting errors, to say the least. I don't mind saying I looked for 4 hours before seeing this :-) Is there any reason slrn_malloc() isn't used? As for the multi-threaded approach, it seems to be working 90% now - but I still get a bunch of 'connection lost' messages at the end. At the moment I'm trying to find out if one thread is starved or if there is something else going wrong. Fun! Jurriaan -- BOFH excuse #143: had to use hammer to free stuck disk drive heads. GNU/Linux 2.2.19pre7 SMP 2x1402 bogomips load av: 0.00 0.00 0.00
Technical Details
Message-ID:
<slrn96d3p1.933.no_spam_here@middle.of.nowhere>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!no_spam_hereShow Full Headers
Complete Article Headers
Message-ID: <slrn96d3p1.933.no_spam_here@middle.of.nowhere> Subject: [slrn] nntplib: nntp_allocate_nntp Date: Thu, 18 Jan 2001 11:38:31 +0000 From: no_spam_here@rivierenland.xs4all.nl (Jurriaan (note: this is a working address!)) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!no_spam_here Newsgroups: news.software.readers Organization: XS4ALL Internet BV Lines: 23 NNTP-Posting-Host: rivierenland.xs4all.nl X-Trace: news1.xs4all.nl 979817911 26549 194.109.14.47 (18 Jan 2001 11:38:31 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 18 Jan 2001 11:38:31 GMT User-Agent: slrn/0.9.6.3 (GNU/Linux)