Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » bug in ImageBuffer::Line() and operator[]
Re: bug in ImageBuffer::Line() and operator[] [message #15373 is a reply to message #15370] |
Thu, 17 April 2008 22:50   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Ok it certainly appears to be an issue with Image and threading.
I reverted to a previous version of my software in which the multithreading worked but even then, when I try to repaint the view while the second thread is accessing the Image, I get the same error. It looks as though only one thread is allowed access to the Image at any one time even though both threads are pointing to the same object.
The attached testcase is a bit of a disappointment in that it does not crash but perhaps there is something dodgy about how things are getting done in it so I included it anyway.
I find in my main app that an ASSERT is failing at Image.cpp line 160.
Nick
-
Attachment: ImageMT.zip
(Size: 2.61KB, Downloaded 437 times)
[Updated on: Fri, 18 April 2008 14:45] Report message to a moderator
|
|
|
 |
|
bug in ImageBuffer::Line() and operator[]
By: mdelfede on Sun, 09 March 2008 21:21
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Sun, 09 March 2008 22:28
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mdelfede on Sun, 09 March 2008 22:46
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Mon, 10 March 2008 09:36
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mdelfede on Mon, 10 March 2008 11:19
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Wed, 12 March 2008 14:45
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Wed, 16 April 2008 13:29
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Thu, 17 April 2008 21:44
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Wed, 23 April 2008 10:25
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Wed, 23 April 2008 10:34
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
|
 |
|
Re: bug in ImageBuffer::Line() and operator[]
By: mirek on Wed, 23 April 2008 21:04
|
Goto Forum:
Current Time: Tue Jul 08 20:36:44 CEST 2025
Total time taken to generate the page: 0.03963 seconds
|