]> xenbits.xensource.com Git - libvirt.git/commit
virsh-console: Avoid using signal() in multithreaded application
authorPeter Krempa <pkrempa@redhat.com>
Thu, 29 Aug 2013 16:30:06 +0000 (18:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Sep 2013 12:06:11 +0000 (14:06 +0200)
commit3e29c77a261c9ef2b570db5f118522f798bdb346
tree3d70ef29cc495bee0de6d2af5b12d8dd761b9d63
parent02eaf1821ce643f8c2984cd6004478bd0843116e
virsh-console: Avoid using signal() in multithreaded application

Man page for signal states:

 "The effects of signal() in a multithreaded process are unspecified."

Switch signal() to sigaction in virsh console code.
tools/virsh-console.c