[kaffe] runtime selectable threading model
doogie at brainfood.com
Sun Dec 12 22:25:45 PST 2004
I've just done the first test of being able to select the threading model
kaffe will use at runtime.
Attached you will find the my test framework. It makes use of gcc
__attribute__((constructor)) to do it's magic. It can work with threading
models compiled statically, or dynamically, transparently.
All that is required now, is to modify all thread function calls in kaffe to
use a global dispatch table, a setup function to load the appropriate table,
automake lines to make modules or compile statically, as needed, and then
it'll work. Shouldn't be too hard to do all that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1433 bytes
Url : http://kaffe.org/pipermail/kaffe/attachments/20041213/112b643f/attachment-0002.obj
More information about the kaffe