Displaying 2 results from an estimated 2 matches for "xray_fdr_logging_impl".
2017 Nov 16
2
question about xray tls data initialization
I'm learning the xray library and try if it can be built on windows, in
xray_fdr_logging_impl.h
line 152 , comment written as
// Using pthread_once(...) to initialize the thread-local data structures
but at line 175, 183, code written as
thread_local pthread_key_t key;
// Ensure that we only actually ever do the pthread initialization once.
thread_local bool UNUSED Unused = [] {...
2017 Nov 21
2
question about xray tls data initialization
...tr_map
On Tue, Nov 21, 2017 at 7:46 PM, Dean Michael Berris
<dean.berris at gmail.com> wrote:
>
> On 17 Nov 2017, at 00:44, comic fans via llvm-dev <llvm-dev at lists.llvm.org>
> wrote:
>
> I'm learning the xray library and try if it can be built on windows, in
> xray_fdr_logging_impl.h
>
> line 152 , comment written as
> // Using pthread_once(...) to initialize the thread-local data structures
>
>
> but at line 175, 183, code written as
>
> thread_local pthread_key_t key;
>
> // Ensure that we only actually ever do the pthread initialization once...