[kaffe] CVS kaffe (doogie): Implement macro wrappers around methods implemented by the threading
Adam Heath
doogie at debian.org
Thu Dec 16 13:12:13 PST 2004
On Thu, 16 Dec 2004, Guilhem Lavaux wrote:
> Kaffe CVS wrote:
> > PatchSet 5647
> > Date: 2004/12/16 06:13:46
> > Author: doogie
> > Branch: HEAD
> > Tag: (none)
> > Log:
> > Implement macro wrappers around methods implemented by the threading
> > subsystem: KTHREAD, KSIGNAL, KSEM, KMUTEX, KCONDVAR.
> >
>
>
> Hi,
>
> Just a stupid question:
> Is there any reason to obsfuscate the thread symbols ? You maybe want to
> implement the modular threading system but adding that sort of macros
> nearly always result in heavy source code...
At the moment, the entry points are done with direct function pointers. The
next step will be using a structure full of function pointers. The third step
will then replace that structure at runtime.
The second and third steps can be done without having to change the code over
and over. Just change the macros.
Besides, there were already macros wrapping SystemCallInterface, so this isn't
that much of a conceptual change.
More information about the kaffe
mailing list