PATCH: Allow non-arithmetic type for pthread_t

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Mar 20 01:17:00 GMT 2002


Loren James Rittle wrote:

>However, I would like to observe an outright portability bug in this
>code with or without my proposed patch.  If sizeof (obj_addr_t) >
>sizeof (pthread_t), then this code could blow up in various manners
>depending upon exact architectural properties.
>

Indeed! This patch ought to fix that. I will check it in to mainline and 
branch.

regards

Bryce.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libjava-pthread-lock.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20020320/df1881a4/attachment.ksh>


More information about the Java-patches mailing list