| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Looking for Canvas vs. Container Control custom control, Tim Jones |
|---|---|
| Next by Date: | RE: Looking for Canvas vs. Container Control custom control, RBNUBE |
| Previous by Thread: | Looking for Canvas vs. Container Control custom control, Tim Jones |
| Next by Thread: | Re: Semaphore, Charles Yeomans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |