Re: ifile lexing question

[email protected]
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
[email protected] writes:
> Creating a lock file would be better here, but this is getting quite
> tangential to the original point, and I'll shut up until I've actually
> implemented something :)

My theory for the daemonized version went like this:
- daemon locks the DB file .idata with lockf.  (Is there a reason that's
  non-reliable that I should use an independent lock file instead?)
- daemon creates a unix-domain-socket .idata.socket
- daemon kills itself after 10 seconds of non-use soas not to keep
  the file unavailable to ifiles run on other machines.
- a client which runs and finds no daemon starts a daemon.

All that said, I think I'm out of cycles for this project for awhile.

Jeremy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.