You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/06/12 14:42:22 UTC

[GitHub] rob05c opened a new pull request #2396: Fix TO Go "CRUDer" GetRefTypes to new, not shared

rob05c opened a new pull request #2396: Fix TO Go "CRUDer" GetRefTypes to new, not shared
URL: https://github.com/apache/incubator-trafficcontrol/pull/2396
 
 
   Using shared objects between threads is dangerous, and there's no
   reason for it, the cost to create these structs is insignificant.
   
   Moreover, this was specifically causing issues with reused structs
   being copied, and pointers being shared. The simple and safe solution
   is to not share data between threads.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services