🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: VC++ CSemaphore equivalent?

#2312
From: Bob Gonder
Date: Mon, 12 Mar 2007 17:44
16 lines
1508 bytes
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: <fm3bv2lundm2f9670e58ukhfn87slfopuu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!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>

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: VC++ CSemaphore equivalent?
Date: Mon, 12 Mar 2007 10:44:56 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <fm3bv2lundm2f9670e58ukhfn87slfopuu@4ax.com>
References: <45f57403@newsgroups.borland.com> <45f57fd5@newsgroups.borland.com> <45f583fb$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 1173721453 67.77.147.65 (12 Mar 2007 10:44:13 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail