[vlc-devel] [PATCH] Threads deadlock number

Pierre d'Herbemont pdherbemont at free.fr
Wed Sep 5 18:36:30 CEST 2007


On Sep 5, 2007, at 6:07 PM, Rafaël Carré wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jean-Baptiste Kempf a écrit :
>> Hi,
>>
>> I think that CAST_PTHREAD_TO_INT returns a unsigned long int, so this
>> patch changes the message displayed in the deadlock thing  
>> accordingly.
>> Is it right? Wrong ?
>> gtz,
>
> the casted value is only stored in int, so i guess it should be casted
> to int.

I don't think so, pthread_t is implementation dependent and could be  
a long long (on 64bits more probably).

Pierre.


More information about the vlc-devel mailing list