🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Need help with Mutex

#2071
From: SubZero
Date: Sun, 29 Apr 2007 08:18
26 lines
2131 bytes
The problem is I am not sure when to get the stack trace! Because it 
deadlocks at some location we do not know...

Thanks,

SZ

"Dennis Jones" <nospam@nospam.com>, iletisinde �unu yazd�, 
news:4634170d$1@newsgroups.borland.com...
>
> "SubZero" <g_ates@hotmail.com> wrote in message 
> news:4633887b@newsgroups.borland.com...
>> Ok. The original functions will be used with only TCriticalSection 
>> (single
>> line). The reason for all the code is that it is needed for detecting the
>> deadlock. I want to raise an exception so that MadExcept can show the 
>> stack!
>> Hope you understand now. Sorry for the confusion.
>
> If you have madExcept, you don't need to throw an exception to get a stack 
> trace.  madExcept provides routines to get a stack trace at *any* point 
> during program execution, not just when an exception is thrown.  See the 
> descriptions for StackTrace() and GetBugReport().
>
> - Dennis
> 
Technical Details
Message-ID: <463454c3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.com> <4633887b@newsgroups.borland.com> <4634170d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,28184df4065864d1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "SubZero" <g_ates@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.com> <4633887b@newsgroups.borland.com> <4634170d$1@newsgroups.borland.com>
In-Reply-To: <4634170d$1@newsgroups.borland.com>
Subject: Re: Need help with Mutex
Date: Sun, 29 Apr 2007 11:18:02 +0300
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-9";
 reply-type=response
Content-Transfer-Encoding: 8bit
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: 88.230.146.11
Message-ID: <463454c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1177834691 88.230.146.11 (29 Apr 2007 01:18:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail