I want to do something like this with the same FIBITMAP I guess FreeImage.GetBits is read-only, so when I get the Bits, I do read-only operations on the Bits, so I can add a read lock. I guess FreeImage.Save is also read-only, so I can add a read lock when I call FreeImage. This way, the above two operations can be done in different threads! Is my idea correct? How do I identify which interfaces are read-only? @drolon
I want to do something like this with the same FIBITMAP I guess FreeImage.GetBits is read-only, so when I get the Bits, I do read-only operations on the Bits, so I can add a read lock. I guess FreeImage.Save is also read-only, so I can add a read lock when I call FreeImage. This way, the above two operations can be done in different threads! Is my idea correct? How do I identify which interfaces are read-only?