Torsten kindly pointed out to me (from across the table, as it happens to be) a paper he found from a couple years ago implementing about implementing thread portability via the JIT!
Much thinking must now ensue. I'm looking forward to Torsten's presentation this evening.