https://bz.apache.org/bugzilla/show_bug.cgi?id=65159

--- Comment #35 from WJCarpenter <[email protected]> ---
That does narrow the time window. I wonder why it's not narrowed even further
by just changing this line:

  new_unique_id.counter = cur_unique_id.counter;

to

  new_unique_id.counter = cur_unique_id.counter++;

Instead, it does through a htons() conversion followed by a ntohs() conversion
before achieving the same thing.

Perhaps I am overlooking some multi-threading consideration that makes the
simple post-increment unwise?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to