Post by Chris Townley
I am confused! Every time I reboot my VSI V8.4-2L1 running on FreeAXP
emulator the entry numbers restart at 1
Not that it really matters, but I have never seen this before.
Any idea how I reinstate the normal behaviour of continuing where it
was, and then rolling over at whatever it limit it has set?
The queue entry number is opaque 32-bit value.
The assigned queue entry number is unique over the lifetime of a job.
Queue entry numbers are not unique over the life of a running system,
nor over reboots.
The existing queue entry number algorithm design is quite effective at
causing developers to acquire misleading or incorrect inferences about
the entry allocation order.
The queue entry number allocation order is undocumented, and has
surprises as queue managers are added and as numbers of concurrent
It'd probably have been better if the initial queue entry numbers were
at least somewhat randomized, as that'd reduce the assumptions and the
One of my favorite developer mistakes has been a word-length entry
number storage field in an app, because the developer made some
mistaken inferences, and/or had never seen larger values.
That mistake has become less common as memory has gotten cheaper and
developer preferences for VAX-ish data packing have waned.
Pure Personal Opinion | HoffmanLabs LLC