πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6624

inicializacion de mutex posix

#6624
From: Ali
Date: Fri, 30 May 2003 13:28
15 lines
1752 bytes
hola

Estoy haciendo cosas con threads, y tengo un problema con los mutex
(pthread_mutex_t).
οΏ½Es posible inicializar los mutex como tipo recursivo, fast, etc? Pero que
sea una inicializacion portable.

Los manuales de Posix q he visto no hablan casi nada al respecto, y las
pocas que lo hacen dicen q esas inicializaciones no son portables:

pthead_mutex_t m = PTHREAD_MUTEX_RECURSIVE_NP;   --por ejemplo

Sabe alguien de esto o donde poder mirar?

gracias
Technical Details
Message-ID: <1054301304.264926@seux119>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!easynet-monga!easynet.net!bashful.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,82aa46d65c9a995e,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-05-30 06:31:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!easynet-monga!easynet.net!bashful.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mail
From: "Ali" <alunaro@eresmas.com>
Newsgroups: es.comp.os.linux.programacion
Subject: inicializacion de mutex posix
Date: Fri, 30 May 2003 15:28:16 +0200
Organization: Supercable Andalucia, S.A.
Lines: 17
Message-ID: <1054301304.264926@seux119>
NNTP-Posting-Host: 212.79.128.146
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: titan.bt.es 1054300031 1507 212.79.128.146 (30 May 2003 13:07:11 GMT)
X-Complaints-To: abuse@bt.es
NNTP-Posting-Date: 30 May 2003 13:07:11 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Cache-Post-Path: seux119!unknown@cliente-217217161172.ubrseb01.supercable.es
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)