Re: [PATCH v3 07/20] util: add API to fetch the current thread name

2025-09-23 Thread Markus Armbruster
Daniel P. Berrangé writes: > This will be used to include the thread name in error reports > in a later patch. It returns a const string stored in a thread > local to avoid memory allocation when it is called repeatedly > in a single thread. This makes the assumption that the thread > name is set

Re: [PATCH v3 07/20] util: add API to fetch the current thread name

2025-09-19 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Fri, Sep 19, 2025 at 10:59:18AM +0200, Markus Armbruster wrote: >> Daniel P. Berrangé writes: >> >> > This will be used to include the thread name in error reports >> > in a later patch. It returns a const string stored in a thread >> > local to avoid memory allo

Re: [PATCH v3 07/20] util: add API to fetch the current thread name

2025-09-19 Thread Daniel P . Berrangé
On Fri, Sep 19, 2025 at 10:59:18AM +0200, Markus Armbruster wrote: > Daniel P. Berrangé writes: > > > This will be used to include the thread name in error reports > > in a later patch. It returns a const string stored in a thread > > local to avoid memory allocation when it is called repeatedly

Re: [PATCH v3 07/20] util: add API to fetch the current thread name

2025-09-19 Thread Markus Armbruster
Daniel P. Berrangé writes: > This will be used to include the thread name in error reports > in a later patch. It returns a const string stored in a thread > local to avoid memory allocation when it is called repeatedly > in a single thread. This makes the assumption that the thread > name is set

[PATCH v3 07/20] util: add API to fetch the current thread name

2025-09-10 Thread Daniel P . Berrangé
This will be used to include the thread name in error reports in a later patch. It returns a const string stored in a thread local to avoid memory allocation when it is called repeatedly in a single thread. This makes the assumption that the thread name is set at the very start of the thread, which