This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reason for cover functions in pthread.cc


On Sun, May 07, 2000 at 10:43:31PM -0500, Paul K. Fisher wrote:
>Is there a reason to keep the cover functions in pthread.cc?  These simply
>call "__" prefixed versions in thread.cc, where the real implementation is
>provided.
>
>For example:
>int
>pthread_attr_init (pthread_attr_t * attr)
>{
>  return __pthread_attr_init (attr);
>}

I don't know of any reason for this practice.  It has always mystified me.
Do things __pthread_attr_init exist in the spec?  If so, the place to handle
this is in cygwin.din not in a wrapper function.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]