Use RW lock for AID instead of __thread variable
Store actor IDs in an unordered map protected via RW lock instead of using a non-portable `__thread` variable. Though this is less efficient, the performance overhead is still negligible compared to the overall cost of enabling logging in the first place. Close #258; a more generic `thread_specific_ptr` implementation turned out have too much implementation overhead to be worth the effort.
Showing
Please register or sign in to comment