Am Mittwoch, 26. März 2014 um 18:11:41, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> 26/03/2014 16:24, Pavel Sanda:
> >> I the __attribute((unused)) portable in general?
> >>
> >> Why not use the return value to output a lyxerr warning if needed?
> >
> > That was my first idea. But we no more have filename in our hands so most 
> > we can output
> > is something like "can't unlock file". You prefer this?
> 
> Well, at least we will know that this triggers and maybe take a look at 
> it. Is it a problem when locking does not succeed?

It's un-locking here. And no problem.
The locking came in because we are testing more than 1 lyx-instance in parallel.

It may start to be a problem, if the routine should lock also against threads.

> JMarc

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to