Initial Multi-threaded version

	modified:   source/mupen64plus-core/projects/unix/Makefile
	modified:   source/mupen64plus-core/src/api/rpiGLES.c
	modified:   source/mupen64plus-core/src/api/vidext.c
	modified:   source/mupen64plus-core/src/main/main.c
	modified:   source/mupen64plus-core/src/memory/memory.c
	modified:   source/mupen64plus-core/src/plugin/plugin.c
	new file:   source/mupen64plus-core/src/r4300/event.c
	new file:   source/mupen64plus-core/src/r4300/event.h
	modified:   source/mupen64plus-core/src/r4300/interupt.c
	modified:   source/mupen64plus-core/src/r4300/interupt.h
	modified:   source/mupen64plus-video-gles2rice/projects/unix/Makefile
	modified:   source/mupen64plus-video-gles2rice/src/OGLES2FragmentShaders.cpp
	modified:   source/mupen64plus-video-gles2rice/src/OGLGraphicsContext.cpp
	modified:   source/mupen64plus-video-gles2rice/src/Profiler.c
	modified:   source/mupen64plus-video-gles2rice/src/Video.cpp