realbasic-nug
[Top] [All Lists]

Semaphore

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Semaphore
From: Jaap Cammeraat <realbasic at isticky dot net>
Date: Sat, 30 Jun 2007 13:40:17 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi All,

I'm using a semaphore to stop executing some code but it isn't working.
Am I doing something stupid?

---
wait=new Semaphore
wait.Signal     // lock this thing
wait.Signal     // try to lock again
Beep     // you will never make sound unless there is somewhere  
a .Release
---

In my App this code will run and make a sound.
There is no .Release of this semaphore in my code.

TIA
Jaap Cammeraat




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>