author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年04月16日 16:30:12 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年04月16日 16:30:12 +0200 |
commit | d77d27f1b14c14a6b338e19ec48f66f31d93609f (patch) | |
tree | f036dc76d4c7156bda23915e88c8dcc57bda1960 /agg-plot/lua-graph.cpp | |
parent | b05459ee73f20b7d2545ff3bf0448cb70c9708e7 (diff) | |
download | gsl-shell-d77d27f1b14c14a6b338e19ec48f66f31d93609f.tar.gz |
-rw-r--r-- | agg-plot/lua-graph.cpp | 12 |
diff --git a/agg-plot/lua-graph.cpp b/agg-plot/lua-graph.cpp index 609c9722..95f35f63 100644 --- a/agg-plot/lua-graph.cpp +++ b/agg-plot/lua-graph.cpp @@ -57,15 +57,3 @@ register_graph (lua_State *L) lua_pop(L, 1); } - -void -gsl_shell_close_with_graph (struct gsl_shell_state* gs) -{ - pthread_mutex_lock (&gs->shutdown_mutex); - gs->is_shutting_down = 1; - pthread_mutex_lock(&gs->exec_mutex); - graph_close_windows(gs->L); - lua_close(gs->L); - pthread_mutex_unlock(&gs->shutdown_mutex); - pthread_mutex_unlock(&gs->exec_mutex); -} |