Permalink
Browse files

Begin abstracting thread support for Windows.

This is not intended to work on Windows. It's merely a first attempt
to separate some parts that seem thread-implementation agnostic from
parts that obviously depend on pthread.
  • Loading branch information...
1 parent 39db8b3 commit 5c62862c23b360694f8027aa3d3be5006bde57d3 Brian Ford committed Oct 15, 2010
Showing with 616 additions and 457 deletions.
  1. +3 −0 vm/agent_components.hpp
  2. +10 −456 vm/util/thread.hpp
  3. +432 −0 vm/util/thread_posix.hpp
  4. +170 −0 vm/util/thread_windows.hpp
  5. +1 −1 vm/vm.hpp
View
@@ -1,4 +1,7 @@
+#ifndef RBX_WINDOWS
#include <sys/utsname.h>
+#endif
+
#include "vm.hpp"
#include "configuration.hpp"
#include "call_frame.hpp"
Oops, something went wrong.

0 comments on commit 5c62862

Please sign in to comment.