tests/auto/qtipc/lackey/scripts/systemlock_readwrite.js
branchRCL_3
changeset 7 3f74d0d4af4c
equal deleted inserted replaced
6:dee5afe5301f 7:3f74d0d4af4c
       
     1 function QVERIFY(x, debugInfo) {
       
     2     if (!(x)) {
       
     3         print(debugInfo);
       
     4         throw(debugInfo);
       
     5     }
       
     6 }
       
     7 
       
     8 var lock = new ScriptSystemLock;
       
     9 lock.setKey("market");
       
    10 QVERIFY(lock.lock());
       
    11 QVERIFY(lock.unlock());