I've localized the supporting module in GCC for
threads (gthr.h and gthr-xxx.h). These primitives
seems fairly easy to support, but there seems to
be a major flaw in them. While there is an initialization
macro, there is no descruction macro. This is problematic
when these functions need to allocate kernel reasources,
that must eventually be reclaimed. It is no problem
to free these up on termination, but if they build up
during execution, it would be problematic.

Are these objects created at load time and kept
for the duration of the run or are they sometimes
allocated and reallocated?

Leif Ekblad
www.rdos.net/rdos




Reply via email to