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 Date: Wed, 6 Dec 2000 22:23:35 +0300 From: Egor Duda X-Mailer: The Bat! (v1.45) Personal Reply-To: Egor Duda 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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