Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Thursday May 02, 2002
05:47 PM

Decisions, Revisions

[ #4624 ]
I'm probably going with the sentinel file locking. I forget why, but my mind was noodling on it earlier today, I think, and the repeated phrase that kept coming up was "sentinel file".

I don't know what to make of it yet, but I registered at DeviantArt. I do have a mild visual graphics yen at times, and I'd like to improve.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I would guess that sentinel and semaphore file locking are similar, just using different names.

    I would think flocking should work, although using a semaphore file would be the belts and suspenders approach if the semaphore file was flocked properly.

    Then again all flocking is dependent upon all apps playing according to the rules.
    • My concern is due to portability issues; I want this thing to work properly anywhere it goes, and my understanding of flock is that its implementation on Win* is crappy if it's not NT-based.

      You are what you think.
      • I can't recall. All of my win'ders books are at home and I haven't had a chance to go through the FAQ and perldocs to see where that stands.

        IIRC, the "modern" versions of the ActiveState's Perl (not that it's different than the standards perl) handles the threading and flocking issues correctly, but some reading needs to be done.