Skip to content

Commit

Permalink
ref: Remove unused getAllThreads method
Browse files Browse the repository at this point in the history
Remove unused sentrycrashccd_getAllThreads.
  • Loading branch information
philipphofmann committed Nov 5, 2024
1 parent 1223af7 commit 00c42e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions Sources/SentryCrash/Recording/SentryCrashCachedData.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,6 @@ sentrycrashccd_unfreeze(void)
}
}

SentryCrashThread *
sentrycrashccd_getAllThreads(int *threadCount)
{
if (threadCount != NULL) {
*threadCount = g_allThreadsCount;
}
return g_allMachThreads;
}

const char *
sentrycrashccd_getThreadName(SentryCrashThread thread)
SENTRY_DISABLE_THREAD_SANITIZER("Known data race to fix")
Expand Down
2 changes: 0 additions & 2 deletions Sources/SentryCrash/Recording/SentryCrashCachedData.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ bool sentrycrashccd_hasThreadStarted(void);
void sentrycrashccd_freeze(void);
void sentrycrashccd_unfreeze(void);

SentryCrashThread *sentrycrashccd_getAllThreads(int *threadCount);

const char *sentrycrashccd_getThreadName(SentryCrashThread thread);

const char *sentrycrashccd_getQueueName(SentryCrashThread thread);

0 comments on commit 00c42e0

Please sign in to comment.