Skip to content

Commit

Permalink
Rename qv_pthread_scope_free to qv_pthread_scopes_free.
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel K. Gutierrez <[email protected]>
  • Loading branch information
samuelkgutierrez committed Jul 12, 2024
1 parent c615aa8 commit a01ac44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/quo-vadis-pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down
2 changes: 1 addition & 1 deletion src/quo-vadis-pthread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ qv_pthread_create(
}

int
qv_pthread_scope_free(
qv_pthread_scopes_free(
int nscopes,
qv_scope_t **scopes
) {
Expand Down
4 changes: 2 additions & 2 deletions tests/test-pthread-split.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit a01ac44

Please sign in to comment.