This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
current winsup/cygwin/*.h files policy
- To: cygwin-developers at cygwin dot com
- Subject: current winsup/cygwin/*.h files policy
- From: Egor Duda <deo at logos-m dot ru>
- Date: Wed, 6 Dec 2000 22:23:35 +0300
- Organization: DEO
- Reply-To: Egor Duda <cygwin-developers at cygwin dot com>
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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19