Windows 7, 32GB RAM, 4 GPUs, 3GHz 4 core CPU.
I have written a simple realtime window with OpenGL component that shows interactive rendering of 3D scene, few buttons, controls and status bar. I love the flexibility of JUCE, how every thing can be nicely tuned. There were few problems with OpenGL detach (he-he) but they were solved. My OpenGL window shows a picture of interactive rendering which is computed using a complex CUDA based application (not OpenGL primitives). OpenGL is responsible for just displaying an image. The image itself is computed in a parallel thread, and JUCE OpenGL thread just takes it ASAP inside TryCriticalSection LeaveCriticalSection and displays at 20FPS.
This JUCE window has an owner of host app window of host 3D application Cinema 4D (it’s a 3D scene editor). Making this helps to implement AlwaysOnTop feature only for owner window (not for others) - in Windows only.
Everything runs very cool and fast. Almost always. But JUCE window together with host Cinema 4D app stalls for around 10 seconds if I turn on Internet connection and some message alerts are shown like email notification or Skype notification that someone is online or some antivirus notification. It happens 1 or 2 times during the work in the host app while my JUCE window is running. It doesn’t crash but stalls. And it is not any background thread but a MAIN GUI thread. This problem forces a user to wait for responce of main host app (Cinema 4D) which is very bad. After stall it continues running well and probably stalls one more time in 1minute. It’s crazy strange! I can’t believe it. AND when there is no Internet connection everything works fine without ever stalling. The stall happens somewhere inside JUCE code (maybe message loop or whatever). I have checked all my routines, they take less than 1ms. I still haven’t found what stalls in JUCE, continue digging the code. Would be glas if someone helps me.
Btw, before JUCE we used wxWidgets, that didn’t have this stall problem (however there were other weird problems like inflexibility, very slow initial window opening, etc.).
License is Personal for testing. I want to buy Pro if we fix the issue because everything else is so cool. But I need help to solve this issue.
Best regards, Kirill