mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1465470
Part 8 - Tolerate pthread_setname_np failing when recording or replaying, r=till.
--HG-- extra : rebase_source : 147d5331f7e9f71181e71e54aa69bc67dfd3452e
This commit is contained in:
parent
b5f74e9778
commit
79ff2addad
@ -197,7 +197,7 @@ js::ThisThread::SetName(const char* name)
|
||||
#else
|
||||
rv = pthread_setname_np(pthread_self(), name);
|
||||
#endif
|
||||
MOZ_RELEASE_ASSERT(!rv);
|
||||
MOZ_RELEASE_ASSERT(!rv || mozilla::recordreplay::IsRecordingOrReplaying());
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user