C
cognacc
C portability is still hard due to environmental differences. I can
port dh from Linux to BSD without too much work, but beyond that, say to
Solaris, the going gets tough.
is that an environmental issue? (no pun intended ).
Unix should be "no problem" for the file lock problem.
Keep to POSIX.
Use fcntl f.example or lockf (man lockf - seen on linux, netbsd ,
solaris)
i also think you might get some thread safety for free(if you need
that?).
see this link forexample, maybe it fits your need.
http://dbaspot.com/forums/solaris/362139-file-locking-solaris.html
(talk about the fcntl and lockf solution - found on linux+bsd+
solaris).
Ups. i think im off topic sorry
mic