On Jan 3, 2007, at 12:32 PM, Chris Jett wrote:

I have an application that has several threads that need to log what they've done to a log file. Currently, I just have a method that takes care of logging. However, as the the application gets busier, I am concerned that there may be a problem with the threads all trying to write to the log at the same time. What would be the best way to handle this to prevent conflicts?
--

Assuming that Rb's cooperative threading cooperates, you should not be seeing conflicts if your logging code contains no loops.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to