M
Mashrur Mia
Hello All,
Is System.out.println() synchronized?. Of course I haven't seen two
threads calling println() messing up each other's output so far (so
far! I haven't been that far perhaps). But the API in www.java.sun.com
does not say if the function is sync or not. Since I don't know what's
happening in println, so is println() atomic otherwise?
(when I searched in google, some site mirroring java.io.PrintStream
APIs say println() is sync)
please help
Sa'ad
Is System.out.println() synchronized?. Of course I haven't seen two
threads calling println() messing up each other's output so far (so
far! I haven't been that far perhaps). But the API in www.java.sun.com
does not say if the function is sync or not. Since I don't know what's
happening in println, so is println() atomic otherwise?
(when I searched in google, some site mirroring java.io.PrintStream
APIs say println() is sync)
please help
Sa'ad