Merged. Thanks.

--Subrata

On Thu, 2008-02-14 at 13:37 +0100, Sebastien Dugue wrote:
>   Make sbrk_mutex less verbose by default. One can still use the -v
> option to get the whole output.
> 
> Signed-off-by: Sebastien Dugue <[EMAIL PROTECTED]>
> Cc: Darren Hart <[EMAIL PROTECTED]>
> Cc: Tim Chavez <[EMAIL PROTECTED]>
> ---
>  testcases/realtime/func/pi-tests/sbrk_mutex.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/testcases/realtime/func/pi-tests/sbrk_mutex.c 
> b/testcases/realtime/func/pi-tests/sbrk_mutex.c
> index be55dfb..5f31fc6 100644
> --- a/testcases/realtime/func/pi-tests/sbrk_mutex.c
> +++ b/testcases/realtime/func/pi-tests/sbrk_mutex.c
> @@ -99,7 +99,9 @@ void *worker_thread(void *arg)
>               }
> 
>               usleep(DELAY);
> -             printf("thread %ld @ %d\n", (long)arg, i);
> +
> +             if (_dbg_lvl)
> +                     printf("thread %ld @ %d\n", (long)arg, i);
>       }
>       return NULL;
>  }
> @@ -164,7 +166,7 @@ int main(int argc, char* argv[])
>       }
> 
>       /* wait for the children to complete */
> -     printf("joining threads");
> +     printf("joining threads\n");
>       for (t = 0; t < NUM_THREADS; t++) {
>               pthread_join(threads[t], NULL);
>       }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to