In a personal project I was working on (using Qt) I needed to implement thumbnail generation, and in order to prevent that from blocking the main thread (making scrolling unresponsive while thumbnails got generated), I dumped all of that work into an async coroutine. Basically kept the scrolling smooth in the main process as the thumbnails got generated in the coroutine.
Seeing that XY is using twinBASIC now, and that twinBASIC supports multithreading, I was wondering if ASync/Threaded thumbnail generation was even possible on a technical level. Would be nice if XY could generate batches of thumbnails, by spawning in a bunch of threads instead of going one by one.
ASync/Threaded thumbnail generation
-
o7blue
- Posts: 143
- Joined: 22 Dec 2020 07:10
ASync/Threaded thumbnail generation
OS: Windows 10
DPI: 100%
DPI: 100%
-
RalphM
- Posts: 2143
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: ASync/Threaded thumbnail generation
From what I recall, Don was hoping to get multi threading into XY at some stage but I think TB is still struggling with other problems that take priority.
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: ASync/Threaded thumbnail generation
Maybe reading the roadmap of TB would help *sigh*
One of my scripts helped you out? Please donate via Paypal
-
o7blue
- Posts: 143
- Joined: 22 Dec 2020 07:10
Re: ASync/Threaded thumbnail generation
That's what I get for trusting a reddit post, made it sound like it was already in
https://www.reddit.com/r/vba/comments/m ... ompatible/
I guess Q1 2027 at best from the current roadmap
https://twinbasic.com/roadmap
https://www.reddit.com/r/vba/comments/m ... ompatible/
I guess Q1 2027 at best from the current roadmap
https://twinbasic.com/roadmap
OS: Windows 10
DPI: 100%
DPI: 100%
XYplorer Beta Club