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.

Attachment: threading-model.tar.gz
Description: Binary data

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to