New topic: 

Mutex not getting cleared

<http://forums.realsoftware.com/viewtopic.php?t=47435>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Peter Howlett          Post subject: Mutex not getting 
clearedPosted: Thu Mar 28, 2013 7:58 pm                         
Joined: Mon Oct 09, 2006 5:29 pm
Posts: 19                We are using a Mutex to detect if another instance of 
our app is running on Windows.

Have had two cases recently (on Windows XP and Windows 7) where it appears that 
the mutex is not getting cleared. Possibly the program crashed at some stage 
and the mutex is still hanging around (it is saved on the main thread).  In 
both cases, the clients have re-booted their computers but the mutex remains 
set so it is no longer possible to run the app since the new instance quits 
because it thinks another instance is running.

Does anyone know where the mutex is stored on the disk (I assume)?  Also how to 
clear this situation?

Thanks in advance.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to