]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Create a libcommon service thread
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 23 May 2011 23:25:57 +0000 (16:25 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 24 May 2011 19:21:02 +0000 (12:21 -0700)
commit9ff7cc7c3712fbb597f4e97572ba46cd01403775
treedae564311baa02189717df057025d56b3c89040b
parent9a660ac9105c3a27ab23d854c9a8eb4451451fa1
Create a libcommon service thread

Create a libcommon service thread. Use it to handle SIGHUP.

Handle it by means of a flag that gets set. Using a queue would raise
the complicated question of what to do when the queue was full.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
18 files changed:
src/Makefile.am
src/common/DoutStreambuf.cc
src/common/DoutStreambuf.h
src/common/SignalSafeQueue.cc [deleted file]
src/common/SignalSafeQueue.h [deleted file]
src/common/ceph_context.cc
src/common/ceph_context.h
src/common/ceph_crypto.cc
src/common/common_init.cc
src/common/common_init.h
src/common/signal.cc
src/libceph.cc
src/librados.cc
src/mds/MDS.cc
src/mon/Monitor.cc
src/osd/OSD.cc
src/rgw/librgw.cc
src/test/SignalSafeQueue.cc [deleted file]