Re: [Qemu-devel] [PATCH 2.1 34/36] qemu-char: make writes thread-safe

2014-06-25 Thread Paolo Bonzini
Il 25/06/2014 08:06, Stefan Weil ha scritto: Am 18.06.2014 08:43, schrieb Paolo Bonzini: This will let threads other than the I/O thread raise QMP events. GIOChannel is thread-safe, and send and receive state is usually well-separated. The only driver that requires some care is the pty driver,

Re: [Qemu-devel] [PATCH 2.1 34/36] qemu-char: make writes thread-safe

2014-06-24 Thread Stefan Weil
Am 18.06.2014 08:43, schrieb Paolo Bonzini: > This will let threads other than the I/O thread raise QMP events. > > GIOChannel is thread-safe, and send and receive state is usually > well-separated. The only driver that requires some care is the > pty driver, where some of the state is shared by

[Qemu-devel] [PATCH 2.1 34/36] qemu-char: make writes thread-safe

2014-06-17 Thread Paolo Bonzini
This will let threads other than the I/O thread raise QMP events. GIOChannel is thread-safe, and send and receive state is usually well-separated. The only driver that requires some care is the pty driver, where some of the state is shared by the read and write sides. That state is protected wit