From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] Thread-safe libsensors
Date: Tue, 06 Mar 2007 17:47:40 +0000 [thread overview]
Message-ID: <20070306184740.7ade7332.khali@linux-fr.org> (raw)
Hi all,
I noticed that the Suse sensors package is compiled with the following
change (amongst many others):
Index: Makefile
=================================--- Makefile (revision 4317)
+++ Makefile (working copy)
@@ -279,7 +279,7 @@
ifdef SYSFS_SUPPORT
LIBCPPFLAGS := $(LIBCPPFLAGS) -DSYSFS_SUPPORT
endif
-LIBCFLAGS := -fpic $(ALL_CFLAGS)
+LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS)
.PHONY: all user clean install user_install uninstall user_uninstall version package
I seem to understand that it is required for libsensors to be
thread-safe, which would be a nice feature if any multithreaded
application ever wants to link with it. So I think I'll apply this
patch to our repository before releasing lm_sensors 2.10.3. Comment
anyone?
--
Jean Delvare
reply other threads:[~2007-03-06 17:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070306184740.7ade7332.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.