diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2019-01-24 18:31:10 +0100 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2019-02-01 10:37:20 +0100 |
commit | 4674678951a1315975d66016fb55c49100b7819f (patch) | |
tree | 6572b7186f06c6405badc67cd1f3dbf450c4df6d /libglusterfs/src/libglusterfs.sym | |
parent | 6b98735956c599ea621fa560b201fb7de6c36cac (diff) |
core: make gf_thread_create() easier to use
This patch creates a specific function to set the thread name using a
string format and a variable argument list, like printf().
This function is used to set the thread name from gf_thread_create(),
which now accepts a variable argument list to create the full name. It's
not necessary anymore to use a local array to build the name of the
thread. This is done automatically.
Change-Id: Idd8d01fd462c227359b96e98699f8c6d962dc17c
Updates: bz#1193929
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'libglusterfs/src/libglusterfs.sym')
-rw-r--r-- | libglusterfs/src/libglusterfs.sym | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/libglusterfs.sym b/libglusterfs/src/libglusterfs.sym index f0a92796187..e33d5cf14fc 100644 --- a/libglusterfs/src/libglusterfs.sym +++ b/libglusterfs/src/libglusterfs.sym @@ -710,7 +710,10 @@ gf_strTrim gf_strstr gf_thread_cleanup_xint gf_thread_create +gf_thread_vcreate gf_thread_create_detached +gf_thread_set_name +gf_thread_set_vname gf_timer_call_after gf_timer_call_cancel gf_timer_registry_destroy |