We need to implement the following JNI Invocation API Functions:
AttachCurrentThread, DetachCurrentThread, and AttachCurrentThreadAsDaemon.
These features in the JNI Invocation API will require some modification of
our m:n threading model. Perhaps it would be best handled by allowing one
to add and remove virtual processors at run time, with the extra virtual
processors representing attached native threads.