In the figure we have the way to use the comparator LM339 and others of the same series with the outputs in parallel. The circuit is from the component manual itself.

In the figure we have the way to use the comparator LM339 and others of the same series with the outputs in parallel. The circuit is from the component manual itself.