in src/main/java/org/apache/commons/csv/CSVPrinter.java [372:380]
public void printRecord(final Stream<?> stream) throws IOException {
lock.lock();
try {
IOStream.adapt(stream).forEachOrdered(stream.isParallel() ? this::printRaw : this::print);
endOfRecord();
} finally {
lock.unlock();
}
}