Article View: borland.public.delphi.language.objectpascal
Article #32507Re: Thread sychronization
From: Andy M.
Date: Fri, 22 Nov 2002 16:53
Date: Fri, 22 Nov 2002 16:53
14 lines
1368 bytes
1368 bytes
> data this fires the OnReceive method with the data. It all works but I am > unsure about > sychronization and if its ok to send data with the component when the worker > thread > is checking / reading data. Winsock-wise it's ok to have parallel read and write calls from different threads, so it should be ok with the component as well. Check if the comp does anything besides calling the winsock function that might be not thread-safe. Andy
Technical Details
Message-ID:
<3dde614a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3dde3943$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,2a3da90c101926b6 X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2002-11-22 09:15:38 PST From: "Andy M." <123@123.com> Newsgroups: borland.public.delphi.language.objectpascal References: <3dde3943$1@newsgroups.borland.com> Subject: Re: Thread sychronization Date: Fri, 22 Nov 2002 17:53:14 +0100 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 NNTP-Posting-Host: 217.228.229.240 Message-ID: <3dde614a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1037984074 217.228.229.240 (22 Nov 2002 08:54:34 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail