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

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.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.