Re: [PATCH 1/7] gdiplus: Make GpBitmap->bitmapbits access thread safe
10 Feb
2017
10 Feb
'17
2:12 a.m.
Copying the lock value in move_bitmap seems wrong to me, as it breaks any locks on the destination. Locking the source doesn't make sense because the caller is supposed to control the only reference to it. I'm not sure it makes sense in free_image_data either, as it leaves the image in an invalid state. Anything calling it should have a lock if this is important. I think it is possible to get unlock != true, when GdipImageRotateFlip calls GdipBitmapLockBits.
10 Feb
10 Feb
8:15 a.m.
New subject: [PATCH 1/7] gdiplus: Make GpBitmap->bitmapbits access thread safe
I'll send a fixed set of patches. Thank you, Piotr
3230
Age (days ago)
3230
Last active (days ago)
1 comments
2 participants
participants (2)
-
Piotr Caban -
Vincent Povirk