Florian Weimer <fwei...@redhat.com> writes: > * Gaius Mulley: > >>> The question is whether this is really necessary. Obviously, there is >>> no requirement to ship all supporting code under the GPL version 3 or >>> later for GCC. See the libffi subdirectory, which has its own >>> license. >> >> sure I think it is looking sensible to stop using libpth. gm2 only >> needs the two basic primitives create a context and switch to a context >> in any case. Furthermore it only needs these if the user wants >> coroutines. For most Modula-2 programs it isn't required. > > One possibility would be to have an implementation based on the > libgcc/gthr.h abstraction. It would not be very efficient if the user > is looking for coroutines, but it would avoid a dependency on yet > another thread library.
yes thanks for the pointer - I will explore this in detail. It looks interesting as there is better potential for multi-language projects (m2/C++ maybe). regards, Gaius