I notice we're now using QFutureWatcherBase instead of QFutureWatcher. Just curious, why? Google didn't find much on QFutureWatcherBase.
TechDraw Multithread Testing
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6321
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Multithread Testing
No, we don't.wandererfan wrote: ↑Wed Aug 24, 2022 12:34 am I notice we're now using QFutureWatcherBase instead of QFutureWatcher. Just curious, why? Google didn't find much on QFutureWatcherBase.
Code: Select all
connectDetailWatcher = QObject::connect(&m_detailWatcher, &QFutureWatcherBase::finished, [this] {
this->onMakeDetailFinished();
});
Instead of the above you can also write
Code: Select all
connectDetailWatcher = QObject::connect(&m_detailWatcher, &QFutureWatcher<void>::finished, [this] {
this->onMakeDetailFinished();
});
Re: Multithread Testing
Yes, please. Could you do it or make a PR?Kunda1 wrote: ↑Thu Aug 18, 2022 3:26 pm This is probably due to the plan that the next version will be v1.0 Release_notes_1.0. Thanks for the heads up.
CC @uwestoehr, should we update the PR template to link to 1.0 Release notes?
Re: Multithread Testing
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Multithread Testing
wandererfan wrote: ↑Tue Aug 16, 2022 5:48 pm I haven't heard any feedback from Windows (or mac) users ...
I read through this thread - but couldn't find a 'simple to use' source for a non-coder e.g. like weekly, to test that out with Windows
Any chance
Re: TechDraw Multithread Testing
We don't have a way (yet) to build windows test builds. We're discussing it. Hey @sliptonic, where's the discussion happening again?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- wandererfan
- Veteran
- Posts: 6321
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Multithread Testing
Multithreading is in master. Any recent build should have it.
Re: Multithread Testing
Yes, you can use any of these builds:wandererfan wrote: ↑Mon Oct 24, 2022 2:46 pm Multithreading is in master. Any recent build should have it.
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
Re: TechDraw Multithread Testing
Yeah, on updating to the latest weekly I realised that. Am just overwhealmed
Re: TechDraw Multithread Testing
I have one bug and one future request.
Bug:
Open some big drawing
Techdraw/Insert Page
Techdraw/Insert Projection group (select few projections)-CPU Load 40%
In the tree view delete ProjGroup
CPU Load is still 40% so Freecad is still working
After some time you will have information:
Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
CPU Load is still 40%
You can't close Freecad because it looks like Freecad must finnish all processes.
Feature request:
If you insert Projection group (or view) there is no information that something is working (except CPU load). I think it will be good to have some indicator or message about the ongoing process.
Maybe it's even better to have it globally for all workbenches some kind of process manager.
Thank you for your hard work
Bug:
Open some big drawing
Techdraw/Insert Page
Techdraw/Insert Projection group (select few projections)-CPU Load 40%
In the tree view delete ProjGroup
CPU Load is still 40% so Freecad is still working
After some time you will have information:
Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
CPU Load is still 40%
You can't close Freecad because it looks like Freecad must finnish all processes.
Feature request:
If you insert Projection group (or view) there is no information that something is working (except CPU load). I think it will be good to have some indicator or message about the ongoing process.
Maybe it's even better to have it globally for all workbenches some kind of process manager.
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30716 (Git)
Build type: Release
Branch: master
Hash: cbd19631428f1d9eb4faae30220551608a648589
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Polish/Poland (pl_PL)