Mail Archives: cygwin-developers/1998/03/19/21:05:44
Date: Thu, 19 Mar 1998 11:59:29 +0900
From: Wan Bok Lee <wblee AT atom DOT kaist DOT ac DOT kr>
However by now, I can't catch even where is the "the definition of the
per_process u, and that of shared_info s"
they are frequently used in the source code, and defined externally
like following.
(cygwin32.dll beta18, cdk/winsup/winsup.h)
>line 160: extern per_process *u;
>line 339: extern shared_info *s;
their type definitions (i.e. calss per_process, class shared_info)
are easily found. but, instance definition (i.e. u, s) are not.
I would be very much appreciated, if anyone who knows the solution of
this problem to me. I also welcome any infomation about those variables.
s is defined in shared.cc. u is defined in dcrt0.cc.
s points to shared memory; all cygwin32 processes which use the same
instance of the cygwin32 DLL point to the same set of shared memory.
u points to information that is specific to a particular cygwin32
process.
Ian
- Raw text -