marcoabreu edited a comment on issue #15574: fix naive engine for 
multi-threaded inference
URL: https://github.com/apache/incubator-mxnet/pull/15574#issuecomment-513371396
 
 
   I understand that you're trying to keep the changes to a minimum, but 
judging from the static variable definition, it doesn't seem like the engine 
was designed to be threadsafe - or even have multiple instantiations. I'd 
prefer if we make the engine only access internal-variables, get rid of static 
ones (aka proper object oriented design) and add synchronization to the APIs.
   
   But I don't really have a dog in that hunt, so take my opinion with a grain 
of salt here.

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


With regards,
Apache Git Services

Reply via email to