Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Select Grid Row BY ID
Re: Select Grid Row BY ID [message #56298 is a reply to message #48075] Thu, 18 February 2021 14:45 Go to previous messageGo to previous message
JeyCi is currently offline  JeyCi
Messages: 50
Registered: July 2020
Member
germax wrote on Sun, 14 May 2017 19:48
Again, thank you,
NOW..
since I just tested your alterations while typing,
I'm still getting memory leaks like crazy *shrugs*
I compiled in MinGW (32bit on the single core and 64bit on the 16core)
You MSVC'd maybe?

I tested in MINGW v9.3 for the interest - no leaks & works OK... just one raw I wouldn't recommend to use in thread without synchronization
outab.cont.GetRow(i).Bg(Yellow());

any synchronization should be done either, I think, - as below same stuff in the code was used in PostCallback... but in for-loop it sometimes behaves strange in your code -- I really don't think this 'yellow' is needed here - therefore am not finding the reason... just getting it away...
I see the date of your post Smile but was testing for the interest - & see no problems with Sqlite3 behavior in thread (in the attached example: #define ME_SINGLE) - therefore am not agree with:
germax wrote on Sun, 14 May 2017 19:48
code not working properly on my machine is that sql conenctions are not exactly thread safe... it's always the SQL causing troubles.

- not certainly
p.s.
though concerning input of huger amount than I tested - I can suppose some time is needed for sqlite3 to commit each transaction & if you will commit all transactions at once no lag will be between code's work & db's locked state sometimes while fixing each change to db separately... but it is old well-known feature of sqlite3 db


Best regards.

[Updated on: Thu, 18 February 2021 17:51]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Minor "mistake" in <CtrlLib/ArrayCtrl.h>
Next Topic: Insert Ctrl editors in a single row of ArrayCtrl
Goto Forum:
  


Current Time: Mon Apr 29 03:29:20 CEST 2024

Total time taken to generate the page: 0.03488 seconds