Article View: chile.comp.programacion
Article #3072Secciones cr�ticas en C++
From: Chack
Date: Mon, 30 May 2005 15:08
Date: Mon, 30 May 2005 15:08
28 lines
1390 bytes
1390 bytes
Alguien sabe como hacer esto?, segu� los pasos de una pagina y no me
resulto... lo que hice fue:
#include <syncobjs.hpp>
TCriticalSection *SC = new TCriticalSection();
// ���Habr�a que destruirla!!!
{
SC->Acquire();
try {
...
} __finally {
SC->Release();
}
}
http://elvex.ugr.es/decsai/builder/threads/coordination.html
Gracias!!
--
Chack.
"El sabio no dice todo lo que piensa, pero siempre piensa todo lo que dice".
Arist�teles.
Technical Details
Message-ID:
<d7fa7s$pb2$1@localhost.localdomain>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.cec.uchile.cl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,1f3993f7e57154cb,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.cec.uchile.cl!not-for-mail From: "Chack" <chack@lospiratas.cl> Newsgroups: chile.comp.programacion Subject: Secciones cr�ticas en C++ Date: Mon, 30 May 2005 11:08:11 -0400 Organization: Centro de Computacion - U. de Chile Lines: 30 Message-ID: <d7fa7s$pb2$1@localhost.localdomain> NNTP-Posting-Host: dodo.die.uchile.cl X-Trace: localhost.localdomain 1117465660 25954 172.17.73.249 (30 May 2005 15:07:40 GMT) X-Complaints-To: news@localhost.localdomain NNTP-Posting-Date: Mon, 30 May 2005 15:07:40 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441