I doubt that decodeStream is thread safe. There is no synchronized in
the method declaration for Android 2.2
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/graphics/BitmapFactory.java#1

On Aug 21, 6:50 am, b0b <pujos.mich...@gmail.com> wrote:
> Now that I think of it: is BitmapFactory.decodeStream() thread-safe ?
>
> I have a separate thread that might be calling this function to decode
> a HTTP image streams while another
> thread decode File streams...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to