🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Win32 Semaphores in TThread?

#2318
From: Jonathan Benedicto
Date: Mon, 12 Mar 2007 18:27
16 lines
1695 bytes
Robert G. Hoover wrote:
>I assume that the Win32 Semaphore functions are implemented in TThread?

No they aren't. You'll still have to use the Win32 functions directly.

> I've had great success relying on Borland objects in the past for 
> low-level routines
> which I don't understand. :) Threads is certainly one of those, though I
> understand the idea, I don't understand the implementation. 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.

Jon 
Technical Details
Message-ID: <45f59b82$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45f57403@newsgroups.borland.com> <45f59a06$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: "Jonathan Benedicto" <invalid@nobody.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45f57403@newsgroups.borland.com> <45f59a06$1@newsgroups.borland.com>
In-Reply-To: <45f59a06$1@newsgroups.borland.com>
Subject: Re: Win32 Semaphores in TThread?
Date: Mon, 12 Mar 2007 14:27:48 -0400
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
NNTP-Posting-Host: 74.115.18.89
Message-ID: <45f59b82$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173724034 74.115.18.89 (12 Mar 2007 11:27:14 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail