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

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

    807580
      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.