diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-07-26 18:57:19 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-07-27 15:08:15 +0100 |
commit | b36c2d176f52fcc6413edd513d4a3a5969e7c265 (patch) | |
tree | f1f1f19679ca8b2683cfb1f0c0d758935b758458 /perl/lib | |
parent | db7ae9aa0ac22c570cbfb92933af78a94824eadc (diff) | |
download | libguestfs-b36c2d176f52fcc6413edd513d4a3a5969e7c265.tar.gz libguestfs-b36c2d176f52fcc6413edd513d4a3a5969e7c265.tar.xz libguestfs-b36c2d176f52fcc6413edd513d4a3a5969e7c265.zip |
ocaml: Fix locking in event callbacks.
We weren't acquiring the GC lock around some allocations, resulting in
segfaults when an event callback ran at the same time as a main thread
allocation or garbage collection.
In particular this fixes a noticable crash in guestfs-browser.
(cherry picked from commit 2b8b3f9794ceb43eabd3083e225c669896d8b186)
Diffstat (limited to 'perl/lib')
0 files changed, 0 insertions, 0 deletions