steinbergmedia / vst3_pluginterfaces

VST 3 API
Other
24 stars 18 forks source link

We need an additional enum entry for tresult #4

Closed abique closed 5 years ago

abique commented 6 years ago

Hi,

I've thought that it would be convenient to have a kInvalidThread, because I want to check for example that all the GUI calls happends on the main thread and just discard those which happens on an other thread with return kInvalidThread.

What do you think?

Alex.

scheffle commented 6 years ago

I don't think that this is a good way to handle this. I would just call std::terminate (), because this may be a fatal error and silently continuing would cover up the real issue.

abique commented 5 years ago

Fair enough :) This one can be closed as well ;-)