2008-01-27 00:33:02     logging error messages

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-01-27 00:33:02     logging error messages

Linux Newbie (INDIA)

Message: 50189   

 

HI,

 

In my application project, I want to log the error messages. Currently we are using printf , which I believe is a blocking function. I dont want the threads in our application to be blocked due to printf. Is there any other way to do it.

 

It will be very useful, if there is any documentaion.

 

 

 

Thanks in Advance

 

 

QuoteReplyEditDelete

 

 

2008-01-27 00:53:15     Re: logging error messages

Robin Getz (UNITED STATES)

Message: 50191    Why do you think printf blocks?

QuoteReplyEditDelete

 

 

2008-01-27 10:01:49     Re: logging error messages

Linux Newbie (INDIA)

Message: 50194    If I have two threads, one with high priority over other, during printf in high priority thread,causes low priority thread to run.

Attachments

    Outcomes