简体   繁体   English

我知道pantheios是线程安全的,但是它是进程间安全的吗?

[英]I know pantheios is thread-safe but is it interprocess safe?

I know pantheios is thread-safe & I have used it fine but is it interprocess safe ? 我知道pantheios是线程安全的,我已经很好用了,但是它是进程间安全的吗?

Meaning could different module(differnt exes) logging to the same logging file safely at the same time? 意味着不同的模块(不同的exes)可以同时安全地记录到同一记录文件吗?

If so do I need to set up any special setting for it ? 如果是这样,我是否需要为此设置任何特殊设置?

BTW :I didn't set anything special to pantheiso & it's thread-safe already by default. 顺便说一句:我没有为pantheiso设置任何特殊设置,并且默认情况下它已经是线程安全的。

Concurrency of sink writes is controlled not by the library but by the back-end that is performing the writes. 接收器写入的并发性不是由库控制,而是由执行写入的后端控制。 I doubt most (any?) stock back-ends are interprocess-safe by default - if you want that you could implement your own back-end, but it will likely kill the performance that you chose Pantheios for in the first place. 我怀疑大多数(任何其他)股票后端默认情况下都是进程间安全的-如果您希望可以实现自己的后端,但是它可能会首先破坏您选择Pantheios的性能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM