Article View: borland.public.cppbuilder.nativeapi
Article #2323Re: Win32 Semaphores in TThread?
From: Bob Gonder
Date: Tue, 13 Mar 2007 00:10
Date: Tue, 13 Mar 2007 00:10
11 lines
1446 bytes
1446 bytes
Jonathan Benedicto wrote: >Robert G. Hoover wrote: >>Could I just use a TThread instead of calling BeginThread on my own? >> Will all my problems go away? > >No, your code is almost the same as what you'd use with TThread. But don't you want the MainThread to do the drawing since it owns the canvas? That's why I mentioned TThread::Synchronize( &Display );
Technical Details
Message-ID:
<0hqbv2dprchfsm2or89k36blc5p3ukhu25@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45f57403@newsgroups.borland.com> <45f59a06$1@newsgroups.borland.com> <45f59b82$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,411b13b57e2ea81a X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Win32 Semaphores in TThread? Date: Mon, 12 Mar 2007 17:10:36 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <0hqbv2dprchfsm2or89k36blc5p3ukhu25@4ax.com> References: <45f57403@newsgroups.borland.com> <45f59a06$1@newsgroups.borland.com> <45f59b82$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.147.65 X-Trace: newsgroups.borland.com 1173744593 67.77.147.65 (12 Mar 2007 17:09:53 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail