Fixed threading issues in C<->Java interface (merge from dslibbluray)
Fixed threading issues in C<->Java interface
(merge from dslibbluray)

tourettes/libbluray,zxlooong/libbluray,koying/libbluray,Distrotech/libbluray,tourettes/libbluray,Distrotech/libbluray,vlc-mirror/libbluray,ShiftMediaProject/libbluray,EdwardNewK/libbluray,pingflood/libbluray,Azzuro/libbluray,koying/libbluray,Azzuro/libbluray,UIKit0/libbluray,Azzuro/libbluray,ace20022/libbluray,zxlooong/libbluray,tourettes/libbluray,pingflood/libbluray,Distrotech/libbluray,EdwardNewK/libbluray,UIKit0/libbluray,mwgoldsmith/bluray,vlc-mirror/libbluray,koying/libbluray,tourettes/libbluray,pingflood/libbluray,koying/libbluray,ace20022/libbluray,ShiftMediaProject/libbluray,ShiftMediaProject/libbluray,mwgoldsmith/bluray,ShiftMediaProject/libbluray,UIKit0/libbluray,Azzuro/libbluray,EdwardNewK/libbluray,ace20022/libbluray,Distrotech/libbluray,vlc-mirror/libbluray,ace20022/libbluray,mwgoldsmith/bluray,vlc-mirror/libbluray,mwgoldsmith/bluray,EdwardNewK/libbluray,zxlooong/libbluray,UIKit0/libbluray