[PATCH]: natThread.cc: Destroy join sync objects in finalizer

Bryce McKinlay mckinlay@redhat.com
Sun Sep 12 22:45:00 GMT 2004


Mohan Embar wrote:

>2004-09-10  Mohan Embar  <gnustuff@thisiscool.com>
>
>	* java/lang/natThread.cc (finalize_native): Destroy
>	join conditional variable and mutex if these destroy
>	operations are supported.
>  
>
OK, Thanks.

Actually we could probably do away with the #ifdefs and just define 
_Jv_CondDestroy etc as empty inline functions for posix-threads. This 
patch is fine for now, though.

Regards

Bryce



More information about the Java-patches mailing list