You might be able to adapt this mutex code:
www.jsoftware.com/jwiki/DevonMcCormick/mutex.ijs and mutex_TCs.ijs for the
test cases.


On Mon, Dec 16, 2013 at 10:05 AM, Eric Iverson <[email protected]>wrote:

> I don't think kfiles provides a lock facility. With a bit of digging
> you might be able to figure out how to use 1!:31 to lock the relevant
> area of the file. It might be easier to have a companion file to the
> kfile where each byte represented the corresponding index in the kfile
> and use 1!:31 on that file. There might be easier solutions depending
> on the exact problem.
>
> On Sun, Dec 15, 2013 at 8:51 AM, Gian Medri <[email protected]> wrote:
> > Hi!
> > I am using kfiles in j602.
> > I need  to lock single component.
> > Is it possible and how?
> >
> > best regard
> > Gian Medri
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to