🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9416

Re: Sleep() doesn't work as I'd expect

#9416
From: Chris Phillips
Date: Mon, 12 Jul 2004 08:58
18 lines
1778 bytes
No, there are no mutexes or anything to protect the buffer. The Comms thread
is the only thing writing to it (it's circular btw) and the main thread is
the only thing reading from it.
"Pete Fraser" <pete._no_spam_fraser@frasersoft.nospam.net> wrote in message
news:40f2522a$1@newsgroups.borland.com...
> How does the main buffer access the thread's buffer? Are there any mutex's
> to protect buffers etc?
> Rgds Pete
>
> "Chris Phillips" <chris.phillips@corusgroup.com> wrote in message
> news:40f24e6d@newsgroups.borland.com...
> > No it isn't - as far as I'm aware, the Comms thread is stand alone -
> filling
> > a buffer which the main program reads when it can.
> >
> > Thanks
>
>
Technical Details
Message-ID: <40f252c7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40eea7bc@newsgroups.borland.com> <40eeb624$1@newsgroups.borland.com> <40f24e6d@newsgroups.borland.com> <40f2522a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f4373c97b27dc766
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Chris Phillips" <chris.phillips@corusgroup.com>
From: "Chris Phillips" <chris.phillips@corusgroup.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40eea7bc@newsgroups.borland.com> <40eeb624$1@newsgroups.borland.com> <40f24e6d@newsgroups.borland.com> <40f2522a$1@newsgroups.borland.com>
Subject: Re: Sleep() doesn't work as I'd expect
Date: Mon, 12 Jul 2004 09:58:47 +0100
Lines: 20
Organization: Corus
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300
NNTP-Posting-Host: 145.8.171.20
Message-ID: <40f252c7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089622727 145.8.171.20 (12 Jul 2004 01:58:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail