test/svc: add test for thread create

This commit is contained in:
Michael Scire committed 2021-11-08 13:29:00 -08:00
1 parent 21b7884653
commit 1d39e06f32
3 files changed
+109 -1

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ namespace ams::test {
/* Wait long enough that we can be confident preemption will occur, and therefore our interrupt flag will be set. */
{
constexpr auto MinimumTicksToGuaranteeInterruptFlag = ::ams::svc::Tick(PreemptionTimeSpan) + 1;
constexpr auto MinimumTicksToGuaranteeInterruptFlag = ::ams::svc::Tick(PreemptionTimeSpan) + ::ams::svc::Tick(PreemptionTimeSpan) + 2;
auto GetSystemTickForPinnedThread = []() ALWAYS_INLINE_LAMBDA -> ::ams::svc::Tick {
s64 v;