Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:38:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: [1]
  Print  
Author Topic: syslog_r thread safety  (Read 1245 times)
poona
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« on: September 18, 2009, 07:55:17 am »

Hi,

Is the syslog function thread safe?  From what I know it is not, and we would have to use syslog_r.  but I don't find an implementation of syslog_r on my system?  Is it because the syslog on my system implicitly thread safe and that is the reason why they didn't provide syslog_r?
Logged
Admin
Administrator
Newbie
*****
Offline Offline

Posts: 146


View Profile WWW
« Reply #1 on: September 18, 2009, 07:57:03 am »

what system do you have?  I don't think it is safe to assume that the lack of syslog_r implies that yours is thread-safe.
Logged
poona
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« Reply #2 on: September 18, 2009, 07:58:56 am »

what system do you have?  I don't think it is safe to assume that the lack of syslog_r implies that yours is thread-safe.

I have Slackware 12.1
Logged
Pages: [1]
  Print  

 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!