🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1300

Re: Passing info between threads

#1300
From: Paul at NCF
Date: Mon, 19 Feb 2007 22:54
11 lines
1465 bytes
Quick question:

What components are you trying to use, and are you dropping them on the main 
form / instantiating them in the main form, or are you instantiating them in 
the 'worker' thread?  Or both?

ie. I create say a UDP component in the thread and don't use it or reference 
it on the main form at all, that way I don't have to worry about the VCL 
components and VCL being non-thread safe (or using syncronize).

Paul 
Technical Details
Message-ID: <45da2a86@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45d9e83a$1@newsgroups.borland.com> <45da1385@newsgroups.borland.com> <45da1b21$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,234a9a04e64155b0
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Paul at NCF" <notplmacca@clara.co.uk>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <45d9e83a$1@newsgroups.borland.com> <45da1385@newsgroups.borland.com> <45da1b21$1@newsgroups.borland.com>
Subject: Re: Passing info between threads
Date: Mon, 19 Feb 2007 22:54:43 -0000
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 86.132.253.190
Message-ID: <45da2a86@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171925638 86.132.253.190 (19 Feb 2007 14:53:58 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail