Raize Support wrote:The warning in the help about the first version not being thread safe is a bit foreboding. The potential does exist that a global variable containing one of the format setting could be changed while it is being used in a Format call. The result would be that the formatted string may or may not have the newly changed format setting applied to the string. But the format will not fail or cause a problem
Raize Support wrote:However, in this case, the regular SendMsg method could be used instead and the Format function called directly with a TFormatSettings parameter.
Raize Support wrote:why you need a separate logger for each thread. Is it just to assign a category to the CS messages from each thread?
Raize Support wrote:If you create a logger for each server module (16 of them) and set the Category for each server module logger when you create them, why would you need to set the Category again at the entry of each server method?
But with all that said, your last sentence suggests that new instances of the server modules are created for each user (up to 16x). Is that correct?
Users browsing this forum: No registered users and 3 guests