🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: VC++ CSemaphore equivalent?

#2313
From: Robert G. Hoover
Date: Mon, 12 Mar 2007 17:56
53 lines
2672 bytes
Hi Bob,

Here's the specs I have...

Also, is it possible that my BeginThread() call is the improper function to
start my thread? Could it be bypassing some protocol to establish proper
multi-threading? The semaphores really aren't being used. They were put there
for future use which I never needed. The video is honestly just a grab and
splash, "set it and forget it". Should I use CreateThread() instead of
BeginThread()?

Thanks,

Rob

___________________________________________________


Processor
Type / Form Factor: Intel Pentium D 935
Multi-Core Technology: Dual-Core
64-bit Computing: Yes
Processor Qty: 1
Clock Speed: 3.2 GHz
Bus Speed: 800 MHz
Compatible Processor Socket: LGA775 Socket
Manufacturing Process: 65 nm
Thermal Design Power: 130 W
Architecture Features: Enhanced SpeedStep technology, streaming SIMD extensions
3, Intel Extended Memory 64 Technology, Execute Disable Bit capability

_________________________________________________________________


Bob Gonder wrote:
> Robert G. Hoover wrote:
> 
>> So, is my problem semaphore-related?
> 
> Do you Synchronize() your Display() ?
> 
>> Or rather processor related? I can't
> 
> What's the clock rate (per core) on this new super-duper cpu?
> It might actually be slower than your old cpu on a per-core basis.
> 
>> Can I use 1 half of the
>> processor for my main application thread and the 2nd half for my video thread so
> 
> There is an affinity mask.
> See the help topic "Multiple Processors"
> 
> 
Technical Details
Message-ID: <45f59434@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45f57403@newsgroups.borland.com> <45f57fd5@newsgroups.borland.com> <45f583fb$1@newsgroups.borland.com> <fm3bv2lundm2f9670e58ukhfn87slfopuu@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,411b13b57e2ea81a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 12 Mar 2007 13:56:40 -0400
From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: VC++ CSemaphore equivalent?
References: <45f57403@newsgroups.borland.com> <45f57fd5@newsgroups.borland.com> <45f583fb$1@newsgroups.borland.com> <fm3bv2lundm2f9670e58ukhfn87slfopuu@4ax.com>
In-Reply-To: <fm3bv2lundm2f9670e58ukhfn87slfopuu@4ax.com>
X-Enigmail-Version: 0.94.1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000723-1, 03/12/2007), Outbound message
X-Antivirus-Status: Not-Tested
NNTP-Posting-Host: 68.48.157.44
Message-ID: <45f59434@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173722164 68.48.157.44 (12 Mar 2007 10:56:04 -0800)
Lines: 53
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail