From a01ac442b3dc3ce990e6a2126ff9c36a6c185499 Mon Sep 17 00:00:00 2001 From: "Samuel K. Gutierrez" Date: Fri, 12 Jul 2024 15:02:56 -0600 Subject: [PATCH] Rename qv_pthread_scope_free to qv_pthread_scopes_free. Signed-off-by: Samuel K. Gutierrez --- include/quo-vadis-pthread.h | 2 +- src/quo-vadis-pthread.cc | 2 +- tests/test-pthread-split.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/quo-vadis-pthread.h b/include/quo-vadis-pthread.h index c75a094..89cfe91 100644 --- a/include/quo-vadis-pthread.h +++ b/include/quo-vadis-pthread.h @@ -58,7 +58,7 @@ qv_pthread_scope_split_at( * Frees resources allocated by calls to qv_pthread_scope_split*. */ int -qv_pthread_scope_free( +qv_pthread_scopes_free( int nscopes, qv_scope_t **scopes ); diff --git a/src/quo-vadis-pthread.cc b/src/quo-vadis-pthread.cc index bfd8714..4d8ce3d 100644 --- a/src/quo-vadis-pthread.cc +++ b/src/quo-vadis-pthread.cc @@ -113,7 +113,7 @@ qv_pthread_create( } int -qv_pthread_scope_free( +qv_pthread_scopes_free( int nscopes, qv_scope_t **scopes ) { diff --git a/tests/test-pthread-split.c b/tests/test-pthread-split.c index 0742389..8f7661a 100644 --- a/tests/test-pthread-split.c +++ b/tests/test-pthread-split.c @@ -108,7 +108,7 @@ main(void) } /* Clean up */ - rc = qv_pthread_scope_free(nthreads, th_scopes); + rc = qv_pthread_scopes_free(nthreads, th_scopes); if (rc != QV_SUCCESS) { ers = "qv_pthread_scope_free() failed"; qvi_test_panic("%s (rc=%s)", ers, qv_strerr(rc)); @@ -146,7 +146,7 @@ main(void) } /* Clean up */ - rc = qv_pthread_scope_free(nthreads, th_scopes); + rc = qv_pthread_scopes_free(nthreads, th_scopes); if (rc != QV_SUCCESS) { ers = "qv_pthread_scope_free() failed"; qvi_test_panic("%s (rc=%s)", ers, qv_strerr(rc));