Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to General discussion on Husky Soft...  <--  <--- Return to Home Page
   Networked Database  General discussion on Husky Soft...   [117 / 150] RSS
 From   To   Subject   Date/Time 
Message   andrew clarke    Wilfred van Velzen   bash script blocking multi toss   January 17, 2017
 12:03 AM *  

16 Jan 17 09:44, you wrote to Benny Pedersen:

 WV> Your model is wrong! The checking and creating of the lock file should
 WV> be one atomic operation!

 WV> So use:

 WV> if create bash-lock-file succeeds
 WV>   do hpt
 WV>   do htick
 WV>   delete bash-lock-file
 WV> else
 WV>   do nothing
 WV> endif

 WV> Most distributions have a command for that. For instance 'lockfile'.

FWIW, 'lockfile' is part of the procmail package:

"apt-get install procmail" in Debian/Ubuntu,

"pkg install procmail" in FreeBSD,

etc.

--- GoldED+/BSD 1.1.5-b20161221
 * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to General discussion on Husky Soft...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0805 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_3r79143ue4ivbardjbfuh2jcb2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_3r79143ue4ivbardjbfuh2jcb2, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_3r79143ue4ivbardjbfuh2jcb2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0