2016-06-20 18:15 GMT-03:00 Björn Lundin <b.f.lun...@gmail.com>:
>
>
> on Linux and AIX I use lockf.
> then read() and write() from the os.
> However I lock the whole file, but the manpage says it is possible to
> lock parts of it.
>
>
>
This can be used to lock character devices, like /dev/ttyUSB0?

FPC fpFLock does the same than Posix.Lockf?

-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to