[Spice-devel] Help with solving a thread safety issue

Jeremy White jwhite at codeweavers.com
Wed Sep 3 14:52:17 PDT 2014


>    2.  Surgically modify the snd_worker.c calls that handle the Playback
> channel to introduce a mutex; lock and release that mutex around
> operations.  This is the direction I'm leaning, but I don't see a lot of
> evidence that this is commonly done.

Now, with patch that solves my problem.  Stop me now or I'll submit it...

Cheers,

Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: snd_lock.diff
Type: text/x-patch
Size: 3063 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140903/21ced798/attachment.bin>


More information about the Spice-devel mailing list