delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <cygwin-developers AT cygwin DOT com> |
Subject: | lists in cygwin1.dll |
Date: | Mon, 9 Apr 2001 19:13:36 +1000 |
MIME-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |