aboutsummaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2012-12-17 18:04:54 +0000
committerJulien Grall <julien.grall@citrix.com>2012-12-17 18:04:54 +0000
commitb6372f16d3f1cf48cd2ff21ab4bdc25cc05d69fd (patch)
treefdae973b00e47cc10a1bbf6ad239e30017f34731 /MAINTAINERS
parent77ad1faa6b6147770feece6a59e21b28c0e0788f (diff)
downloadxen-b6372f16d3f1cf48cd2ff21ab4bdc25cc05d69fd.tar.gz
xen-b6372f16d3f1cf48cd2ff21ab4bdc25cc05d69fd.tar.bz2
xen-b6372f16d3f1cf48cd2ff21ab4bdc25cc05d69fd.zip
libxenstore: filter watch events in libxenstore when we unwatch
XenStore puts in queued watch events via a thread and notifies the user. Sometimes xs_unwatch is called before all related message is read. The use case is non-threaded libevent, we have two event A and B: - Event A will destroy something and call xs_unwatch; - Event B is used to notify that a node has changed in XenStore. As the event is called one by one, event A can be handled before event B. So on next xs_watch_read the user could retrieve an unwatch token and a segfault occured if the token store the pointer of the structure (ie: "backend:0xcafe"). To avoid problem with previous application using libXenStore, this behaviour will only be enabled if XS_UNWATCH_FILTER is given to xs_open. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Julien Grall <julien.grall@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions