Adds functions to manage multiple processor states.

 Changes committed:
	modified:   include/gambit.h.in
	modified:   lib/os_thread.c
	modified:   lib/os_thread.h
	modified:   lib/vm.c
	modified:   lib/vm.h