Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: locking over the network (SMB link)

by rowdog (Curate)
on Feb 02, 2011 at 17:30 UTC ( #885797=note: print w/replies, xml ) Need Help??


in reply to Re^4: locking over the network (SMB link)
in thread locking over the network

Ah, I see now. It sounds like hard links aren't the best solution here. Thanks for clarifying the costs involved.

  • Comment on Re^5: locking over the network (SMB link)

Replies are listed 'Best First'.
Re^6: locking over the network (SMB link)
by tye (Sage) on Feb 02, 2011 at 18:09 UTC

    I wouldn't disqualify hard links. stat itself is surprisingly complex and expensive under Windows Perl and if you haven't just given up on using Windows Perl, then it probably isn't expensive enough to be a show stopper for other uses (since stat gets used willy nilly when using Perl). (stat emulation is so slow that git implemented Windows-specific replacements in order to make a lot of stuff go noticeably faster.)

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://885797]
help
Chatterbox?
[Discipulus]: good morning nuns and monks!
[marioroy]: Morning Discipulus. porting C code to Perl is an interesting problem for running parallel. I will try and the reason for attempting Perl code to match C 100%.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-10-24 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?