[vlc-devel] vlc: svn commit r23561 (pdherbemont)

Pierre d'Herbemont pdherbemont at free.fr
Wed Dec 12 17:22:18 CET 2007


On Dec 12, 2007, at 1:44 PM, Rafaël Carré wrote:

> Le Wed, 12 Dec 2007 05:42:16 +0100 (CET),
> Subversion daemon <svn at videolan.org> a écrit :
>
>> r23561 | pdherbemont | 2007-12-12 05:42:15 +0100 (Wed, 12 Dec 2007) |
>> 2 lines Changed paths:
>>   M /trunk/include/vlc_threads_funcs.h
>>   M /trunk/src/misc/threads.c
>>
>> misc/threads.c: Implement vlc_threads_error(), that is called when an
>> error is encountered in the threading system. The whole point of this
>> is to ease debugging of such situation, by exposing a nice symbol on
>> which we can break. (This costs nearly nothing).
>
> If the it's aimed only at debugging, please put that code in #ifdef
> DEBUG blocks.

Well, no, that fallback could be used to exit and send bug report. For  
now it just print a msg_Err, we could #ifdef DEBUG that msg_Err, but  
seriously that sounds clumsy... to me...

Pierre.


More information about the vlc-devel mailing list