[PATCH] [libc++] Fix PR22606 - Leak pthread_key with static storage duration to ensure all of thread-local destructors are called.

Marshall Clow mclow.lists at gmail.com
Sun Apr 5 21:52:42 PDT 2015


(just to make sure that I understand), I see two changes here :

1. Some code movement (line 310-ish to line 116-ish). No real functionality change there.
2. Make the constructor for `__thread_specific_ptr` private, and add a friend decl for `__thread_local_data`.

Is that correct?


http://reviews.llvm.org/D8802

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list