mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Add a note on concurrency to the logger
This commit is contained in:
@@ -40,6 +40,12 @@ constexpr char logging_verbosity_environment_variable[] =
|
|||||||
* plugins. This is also used to redirect the output of the Wine process
|
* plugins. This is also used to redirect the output of the Wine process
|
||||||
* because DAWs like Bitwig hide this from you, making it hard to debug
|
* because DAWs like Bitwig hide this from you, making it hard to debug
|
||||||
* crashing plugins.
|
* crashing plugins.
|
||||||
|
*
|
||||||
|
* @note This does not do any synchronisation. While this should technically
|
||||||
|
* be causing problems in concurrent use, writing strings to fstreams from
|
||||||
|
* multiple threads at the same time doesn't seem to produce corrupted text if
|
||||||
|
* you're writing an entire string at once even though the messages may be
|
||||||
|
* slightly out of order.
|
||||||
*/
|
*/
|
||||||
class Logger {
|
class Logger {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user