2 Replies Latest reply: Jul 19, 2010 1:58 PM by walterln RSS

    Threads/Multiple classes - how to update progress/error log

      I have an application where multiple threads may be running at the same time. Different classes need to update the same error/progress log file. Should I create another class with a static method that takes strings as parameter? And then this static method would write the strings to the log file? What would happen if two threads access the static method at the exact same time? Need guidance.