www.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 |
Date: | Wed, 6 Dec 2000 22:23:35 +0300 |
From: | Egor Duda <deo AT logos-m DOT ru> |
X-Mailer: | The Bat! (v1.45) Personal |
Reply-To: | Egor Duda <cygwin-developers AT cygwin DOT com> |
Organization: | DEO |
X-Priority: | 3 (Normal) |
Message-ID: | <15228862171.20001206222335@logos-m.ru> |
To: | cygwin-developers AT cygwin DOT com |
Subject: | current winsup/cygwin/*.h files policy |
Mime-Version: | 1.0 |
Hi! if i understand correctly, *.h files in winsup/cygwin/ were redesigned some time ago from single monolithic winsup.h to a bunch of small *.h files which don't use #ifndef _FOO_H_ #define _FOO_H_ ... #endif construct, and should be included in *.cc files in correct order to satisfy all dependencies. there're, however 4 *.h files left, which include other "*.h" files -- heap.h, pinfo.h, shared_info.h and winsup.h. was it intentional? i want to use per_thread class in thread.h; so what do you think will be right way: to include "perthread.h" before every inclusion of pinfo.h or thread.h of include it in thread.h and guard it with #ifndef-#define-#endif ? btw, does usage of c++'s multiple inheritance allowed in cygwin? my final goal is to implement pthread_cancel(), if anyone interested. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |