indexing description: "[ Utility class to that helps to avoid problems with concurent access to the io since it is not thread safe ]" status: "See notice at end of class." legal: "See notice at end of class." date: "$Date$" revision: "$Revision$" class BENCHMARK_PRINT_HELPER inherit ANY redefine print end feature print (some: ?ANY) is -- Write terse external representation of `some' -- on standard output. do if some /= Void then io_mutex.lock io.put_string (some.out) io_mutex.unlock end end feature {NONE} -- Implementation io_mutex: MUTEX is once create Result.make end feature indexing copyright: "Copyright (c) 2008, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end