Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Utilities

    sequence 1.1

    Download button

    No screenshots available
    Downloads: 434  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Martin Fick | More programs
    GPL / FREE
    April 16th, 2008, 09:10 GMT
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    sequence description

    sequence is a locking unique sequence generator.

    sequence is a locking unique sequence generator.

    The current sequence number is stored in a file only to be incremented when locked. This script should be fairly robust, avoiding any loss of the sequence number, even during program interruptions. The sequence number is backed up in another file before being overwritten (incremented).

    This script also ensures that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem (and unlocked) before ever returning a newly incremented number. The only failures should be skipped numbers, but never duplicate ones.

    Use: sequence next DB > the next number in the sequence

    DB is a file to keep track of the current sequence. Be aware that the file DB.last will be used to backup the sequence during incrementation. Lock files such as DB.lock will also be used.

    To start a new sequence:

    Use: sequence init DB

    Product's homepage

    Requirements:

    · lock

      


    TAGS:

    sequence generator | locking mechanism | sequence number | locking | sequence | generator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM