<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-06-20 18:15 GMT-03:00 Björn Lundin <span dir="ltr"><<a href="mailto:b.f.lundin@gmail.com" target="_blank">b.f.lundin@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">
<br>
</span>on Linux and AIX I use lockf.<br>
then read() and write() from the os.<br>
However I lock the whole file, but the manpage says it is possible to<br>
lock parts of it.<br>
<br>
<br></blockquote><div> </div><div>This can be used to lock character devices, like /dev/ttyUSB0?</div><div><br></div><div>FPC fpFLock does the same than <span style="font-size:12.8px">Posix.Lockf?</span></div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br><a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a></div>
</div></div>