Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Threads

Author: James Robertson

Date: 09:08:00 04/07/99

Go up one level in this thread


On April 07, 1999 at 11:06:54, KarinsDad wrote:

>On April 07, 1999 at 01:29:30, James Robertson wrote:
>
>[snip]
>>
>>Just out of curiosity, how does a critical_section do this? Is it something
>>built into Windows?
>>
>>James
>
>James,
>
>If you can write your "critical section" in assembly as Bruce suggests, do so.
>Any Windows API call is not worth it performance wise, especially system calls.
>
>KarinsDad :)

I can't. I barely even know what one is. But, I am always leery of making lots
of calls to functions I didn't write. I think I can reduce the calls to critical
sections down to very very few per search.

James



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.