Skip to content

Commit

Permalink
Check configuration for set priority call (#4697)
Browse files Browse the repository at this point in the history
b/386841458
  • Loading branch information
andrewsavage1 authored Jan 15, 2025
1 parent 5925dc0 commit 41f30d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v8/src/base/platform/platform-starboard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,9 @@ static void* ThreadEntry(void* arg) {
// one).
{ LockGuard<Mutex> lock_guard(&thread->data()->thread_creation_mutex_); }
#if SB_API_VERSION >= 16
SbThreadSetPriority(kSbThreadPriorityNormal);
if (kSbHasThreadPrioritySupport) {
SbThreadSetPriority(kSbThreadPriorityNormal);
}
#endif
SetThreadName(thread->name());
// DCHECK_NE(thread->data()->thread_, kNoThread);
Expand Down

0 comments on commit 41f30d8

Please sign in to comment.