[gegl] gegl: use g_thread_new() not _create_full() for the async tile writer thread
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: use g_thread_new() not _create_full() for the async tile writer thread
- Date: Fri, 15 Mar 2013 21:58:04 +0000 (UTC)
commit 6ac40901bad499443e8b063d4b6c720732d10b5a
Author: Michael Natterer <mitch gimp org>
Date: Fri Mar 15 22:56:51 2013 +0100
gegl: use g_thread_new() not _create_full() for the async tile writer thread
because the create() API is deprecated.
gegl/buffer/gegl-tile-backend-file-async.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-backend-file-async.c b/gegl/buffer/gegl-tile-backend-file-async.c
index e213d9f..14beb3a 100644
--- a/gegl/buffer/gegl-tile-backend-file-async.c
+++ b/gegl/buffer/gegl-tile-backend-file-async.c
@@ -1257,8 +1257,8 @@ gegl_tile_backend_file_class_init (GeglTileBackendFileClass *klass)
g_cond_init (&queue_cond);
g_cond_init (&max_cond);
g_mutex_init (&mutex);
- g_thread_create_full (gegl_tile_backend_file_writer_thread,
- NULL, 0, TRUE, TRUE, G_THREAD_PRIORITY_NORMAL, NULL);
+ g_thread_new ("GeglTileBackendFile async writer thread",
+ gegl_tile_backend_file_writer_thread, NULL);
GEGL_BUFFER_STRUCT_CHECK_PADDING;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]