Author Topic: Decoupling DiagnosticsEngine  (Read 4599 times)

lerno

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Decoupling DiagnosticsEngine
« on: October 29, 2018, 05:34:47 PM »
It would be nice to be able to decouple the diagnostics engine. As far as I can tell it's almost always Diag.Report which is used.

Can we have some sort of convenience here?

1. A thread local global (access using macro)
2. A wrapper object (explicitly passed in like the DE object is used today)
3. Pull out the DE and push a copy into C2 that we can handle and update like we want.

bas

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: Decoupling DiagnosticsEngine
« Reply #1 on: November 07, 2018, 10:35:50 AM »
I would at least like to keep the option open to do parsing + analysis in multiple-threads.