It should be thread safe.

On Mon, Aug 22, 2011 at 3:33 PM, Vance Turnewitsch <
[email protected]> wrote:

> 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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
[email protected]

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

Reply via email to