diff options
author | Thomas White <taw@physics.org> | 2022-05-02 16:35:55 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-05-04 14:47:35 +0200 |
commit | 6138de6b2cfa59d3b13a3170d865eb07d496fc0f (patch) | |
tree | e08954995a7165e42fe3ff6697d3d9680cbd8b83 /src/im-sandbox.c | |
parent | 3fb81ddf7059599dba9b8b223156801af6885fc1 (diff) |
Write profile information in one call to write()
Unfortunately, the complicated series of nested printf()s doesn't work
well from multiple processes.
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index ace58499..bd3f47e7 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -463,9 +463,7 @@ static int run_work(const struct index_args *iargs, Stream *st, * eventually be freed by image_free() under process_image() */ if ( sb->profile ) { - pthread_mutex_lock(&sb->shared->term_lock); profile_print_and_reset(); - pthread_mutex_unlock(&sb->shared->term_lock); } } |