Returns a maximal number of threads which the class latch supports synchronization of, that is PTRDIFF_MAX.