| 11036 | } |
| 11037 | |
| 11038 | KThread* doLockedIncThread(U32 numberOfIterationsPerThread) { |
| 11039 | KThread* thread = process->createThread(); |
| 11040 | thread->cpu->clone(cpu); // make sure segments are correct |
| 11041 | thread->cpu->reg[1].u32 = numberOfIterationsPerThread; |
| 11042 | scheduleThread(thread); |
| 11043 | return thread; |
| 11044 | } |
| 11045 | |
| 11046 | void testLockedInc(U32 address) { |
| 11047 | const U32 numberOfThreads = 10; |
no test coverage detected