[Xcb] [PATCH v2] expose 64-bit sequence numbers for XLib

Peter Harris pharris at opentext.com
Wed Apr 29 13:46:52 PDT 2015

On 2015-04-29 16:09, Uli Schlachter wrote:
> P.S.: When will we need 128 bit sequence numbers?

If you send one request every nanosecond, an unsigned 32-bit sequence
number will wrap around after about 4.3 seconds. An unsigned 64-bit
sequence number will wrap around after 599.3 years.

Even if we assume that single-core[1] computer performance will increase
exponentially at the rate of Moore's Law (though it hasn't recently, not
even close), we should have at least 18 years before a 64-bit limit
could conceivably become a real problem.

Peter Harris

[1] If you have hardware that can take a shared lock in less than a
nanosecond, I bet Intel wants to talk to you.
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866

More information about the Xcb mailing list