[ANN] ImageLocker to prevent duplicate starts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] ImageLocker to prevent duplicate starts

Janko Mivšek
Dear all,

I just published the ImageLocker package on the public Store. From
package comment:

ImageLocker lock an image to prevent that the other image
with the same name will accidentialy start.

Lock is managed by special file <imagename>.lock. If the same image with
the same name starts and finds this lock file, it wont start but quit in
10 seconds. Quit can be prevented by evaluating ImageLock stop before
quit. See Transcript for the lock/unlock report and stop quit instructions.

That way a running of duplicate images is prevented. Such run can
namely has a disastrous consequences.

ImageLocker is implemented as a subclass of Subsystem, which is
activated (image is locked) immediately after this package/parcel is
loaded and deactivated (image is unlocked) when package/parcel is unloaded.

I'd like to thank to all who helped me developed with advices, hints and
comments!

Best regards
Janko

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc