[vlc-devel] [PATCH] Threads deadlock number

Rafaël Carré funman at videolan.org
Wed Sep 5 18:36:40 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre d'Herbemont a écrit :
> 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).

then the variable storing the value should be big enough

> 
> Pierre.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> 


- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3tsXYWCeGMCv8Q8RAmt4AJ9PZUVK6n8rpWSb4su8lh8JMBeSFgCdHgGO
x84Km1LcKYxKRivhWlsXVs8=
=PAwq
-----END PGP SIGNATURE-----



More information about the vlc-devel mailing list