diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-31 15:33:34 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-31 15:33:34 -0700 |
commit | 268fb375171668e2d85a147c7614e89ce1bd46f6 (patch) | |
tree | a28c9bbeee947155a649828578b3684f5b38aa7d /env_universal.cpp | |
parent | ff1710131687075e819afcb045ed35924822b682 (diff) |
Cleanup proc_had_barrier
Ensure we don't try to do a universal barrier off of the main thread
Diffstat (limited to 'env_universal.cpp')
-rw-r--r-- | env_universal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/env_universal.cpp b/env_universal.cpp index a7d6dcae..e9b0d0d8 100644 --- a/env_universal.cpp +++ b/env_universal.cpp @@ -338,6 +338,7 @@ int env_universal_get_export( const wchar_t *name ) void env_universal_barrier() { + ASSERT_IS_MAIN_THREAD(); message_t *msg; fd_set fds; |