Thread: iTCL
View Single Post
Old 11-11-2003, 12:29 AM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Wait until next version.. it'll provide you a fancy locking api (if I remember to implement it )

You can expect it to work as following:

lock -wait "lockname" <timeout/milliseconds>
lock -release "lockname"

lock will return 0 on success, 1 on timeout & tcl error on system error.
darkone is offline   Reply With Quote