[Bug 42463] New: refactor dispatcher in spice-server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 1 02:31:53 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42463

             Bug #: 42463
           Summary: refactor dispatcher in spice-server
    Classification: Unclassified
           Product: Spice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: server
        AssignedTo: spice-bugs at lists.freedesktop.org
        ReportedBy: alevy at redhat.com


replace dispatcher implementations in main_dispatcher and red_dispatcher by a
single one.

a dispatcher is the current word prevalent in the source for a pipe between two
different threads, a message passing mechanism.

The dispatcher has the following requirements:
 receive from a single thread (current users are io and worker threads)
 send from multiple threads

Users would be:

io thread <- worker thread : channel_event
worker thread <- io thread : all red_dispatcher messages (~20)

This is a test bug for git bz for me.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list