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