aboutsummaryrefslogtreecommitdiffhomepage
path: root/iothread.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-17 16:39:41 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-17 16:39:41 -0700
commit3d85000f13842af0284f4bb08ce586bf529b7a76 (patch)
treea875d3fd4964e3bf7f4b92c70dec3644bd0d1dae /iothread.cpp
parent3d1a204c83c2657b1009a268c9b399edd97ea893 (diff)
Reduce the iterations in the iothread test to something more reasonable.
Remove an unnecessary lock.
Diffstat (limited to 'iothread.cpp')
-rw-r--r--iothread.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/iothread.cpp b/iothread.cpp
index a97007c4..00c30721 100644
--- a/iothread.cpp
+++ b/iothread.cpp
@@ -303,7 +303,6 @@ static void iothread_service_main_thread_requests(void)
{
// Perform each of the functions
// Note we are NOT responsible for deleting these. They are stack allocated in their respective threads!
- scoped_lock cond_lock(s_main_thread_performer_lock);
while (! request_queue.empty())
{
MainThreadRequest_t *req = request_queue.front();