Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <006101c0c0d5$5cb6e130$0200a8c0@lifelesswks> From: "Robert Collins" To: Subject: lists in cygwin1.dll Date: Mon, 9 Apr 2001 19:13:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 09 Apr 2001 09:07:07.0538 (UTC) FILETIME=[73D60720:01C0C0D4] Is there a generic thread-safe list class in cygwin1.dll? I started writing one 'cause I couldn't see one jumping out at me. I need list support of some sort for the pthread_key_t destructors. I'd like some input from the group here... should I a) use class foo that I don't know about. b) just hand code a bare bones singly linked list, making each step and reference threadsafe. c) make a generic threadsafe class, and put it in 'lists.h' or whereever is best (winsup? thread.h?) a) is fastest, b) second, and c) slowest. However c) would give you other developers a tool for future development... Rob