diff options
Diffstat (limited to 'rotord/src/rendercontext.h')
| -rw-r--r-- | rotord/src/rendercontext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h index 0cecf49..b0f8649 100644 --- a/rotord/src/rendercontext.h +++ b/rotord/src/rendercontext.h @@ -82,17 +82,17 @@ namespace Rotor { } //interrupt locking process Render_status get_render_status(const string &uid){ - graph.mutex.lock(); + //graph.mutex.lock(); //cerr<<"render status requested: "<<uid<<" status: "<<renders[uid].status<<endl; if (renders.find(uid)!=renders.end()){ if (renders[uid].status==RENDERING){ renders[uid].progress=graph.progress; } - graph.mutex.unlock(); + //graph.mutex.unlock(); return renders[uid]; } - graph.mutex.unlock(); + //graph.mutex.unlock(); return Render_status(NOT_FOUND); }; |
