summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtipc/lackey/scripts/systemsemaphore_release.js
blob: c805e0fed882f8c2b3d9b6b24d7059e9150769ff (plain)
1
2
3
4
5
6
7
8
9
10
11
function QVERIFY(x, debugInfo) {
    if (!(x)) {
        print(debugInfo);
        throw(debugInfo);
    }
}

var sem = new ScriptSystemSemaphore;
sem.setKey("store");
QVERIFY(sem.release());
print ("done releasing");