linux/scripts/rt-tester/t3-l1-pi-2rt.tst
<<
="v3="v3="o/spa.14="ospa. class="lxr_search">="v3="v3="v3="v3 typ Search14 ="v3="o/spa.14v3="oinput typ =v3= odiv id/ /1o/a># / /2o/a># rt-mutex test / /3o/a># / /4o/a># Op: C(ommand)/T(est)/W(ait) / /5o/a># |/ opcode / /6o/a># |/ |3/ /7o/a># |/ |3/ /8o/a># |/ |3/ /9o/a># C: lock: 0: 0 / > a># / 11o/a># Commands / 12 a># / 13o/a># opcode opcode argument / 14o/a># schedother nice / 15o/a># schedfifo priority / 16o/a># lock lock nr (0-7) / 17o/a># locknowait lock nr (0-7) / 18o/a># lockint lock nr (0-7) / 19o/a># lockintnowait lock nr (0-7) / 20o/a># lockcont lock nr (0-7) / 21o/a># unlock lock nr (0-7) / 22o/a># signal thread to signal (0-7) / 23o/a># reset 0 / 24o/a># resetevent 0 / 25o/a># / 26o/a># Tests / Wait / 27o/a># / 28o/a># opcode opcode argument / 29o/a># / 30o/a># prioeq priority / 31o/a># priolt priority / 32o/a># priogt priority / 33o/a># nprioeq normal priority / 34o/a># npriolt normal priority / 35o/a># npriogt normal priority / 36o/a># locked lock nr (0-7) / 37o/a># blocked lock nr (0-7) / 38o/a># blockedwake lock nr (0-7) / 39o/a># unlocked lock nr (0-7) / 40o/a># opcodeeq command opcode or number / 41o/a># opcodelt number / 42o/a># opcodegt number / 43o/a># eventeq number / 44o/a># eventgt number / 45o/a># eventlt number / 46o/a> / 47o/a># / 48o/a># 3 threads 1 lock PI / 49o/a># / 50o/a>C: resetevent: 0: 0 / 51o/a>W: opcodeeq: 0: 0 / 52o/a> / 53o/a># Set schedulers / 54o/a>C: schedother: 0: 0 / 55o/a>C: schedfifo: 1: 81 / 56o/a>C: schedfifo: 2: 82 / 57o/a> / 58o/a># T0 lock L0 / 59o/a>C: locknowait: 0: 0 / 60o/a>W: locked: 0: 0 / 61o/a> / 62o/a># T1 lock L0 / 63o/a>C: locknowait: 1: 0 / 64o/a>W: blocked: 1: 0 / 65o/a>T: prioeq: 0: 81 / 66o/a> / 67o/a># T2 lock L0 / 68o/a>C: locknowait: 2: 0 / 69o/a>W: blocked: 2: 0 / 70o/a>T: prioeq: 0: 82 / 71o/a>T: prioeq: 1: 81 / 72o/a> / 73o/a># T0 unlock L0 / 74o/a>C: unlock: 0: 0 / 75o/a> / 76o/a># Wait until T2 got the lock / 77o/a>W: locked: 2: 0 / 78o/a>W: unlocked: 0: 0 / 79o/a>T: priolt: 0: 1 / 80o/a> / 81o/a># T2 unlock L0 / 82o/a>C: unlock: 2: 0 / 83o/a> / 84o/a>W: unlocked: 2: 0 / 85o/a>W: locked: 1: 0 / 86o/a> / 87o/a>C: unlock: 1: 0 / 88o/a>W: unlocked: 1: 0 / 89o/a> The original LXR software by the LXR communityo/a>, this experimental verson> by lxr@linux.noo/a>. o/div14odiv class="subfooter"> lxr.linux.no kindly hosted by Redpill Linpro ASo/a>, provider of Linux consulting and opera v3.s services since 1995. o/div14 o/body14o/html14