This is the mail archive of the cygwin-patches@cygwin.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: [PATCH] Move per_thread::set() def from fork.cc to perthread.h


----- Original Message -----
From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>
To: <cygwin-patches@sourceware.cygnus.com>
Sent: Sunday, October 14, 2001 11:22 PM
Subject: [PATCH] Move per_thread::set() def from fork.cc to perthread.h


> Sun Oct 14 08:10:12 2001  Gary R. Van Sickle
>
> * perthread.h (per_thread::set): Move per_thread::set()
> definition from fork.cc to perthread.h, where the rest of
> per_thread resides.

Why? I thought virtual functions could not inline, so there is no
potential performance benefit to putting the code in the header, and
headers usually do not have the actual implementation of the function
(barring inline functions).

Just my 2c,
Rob


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