Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 2 of 2 total |
semaphores functionality |
Tue, Jul 24 2007 10:04 PM | Permanent Link |
"Huhtaman" | hello all:
i have a question on semaphores - are semaphores automatically freed up when an application terminates ? what if the app is terminated via power loss ??? I want to use semaphores to keep track of who is in my application in a non-client server dbisam environment. My idea is to grab the first available semaphore - put it in a table along with the ip address(s) of the computer and the computer name. the table is needed to store the user computer information. thanks Neil |
Wed, Jul 25 2007 3:18 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Neil,
<< i have a question on semaphores - are semaphores automatically freed up when an application terminates ? >> They aren't in 1.x or 2.x, and possibly 3.x also, but they are in 4.x. << what if the app is terminated via power loss ??? >> No, in such a case they are handled just like any other locks - it is up to the file server OS to free them because the process is now gone. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |