IPDL/Proposal:Shmem access control: Difference between revisions

m
(Created page with '== Optional fine-grained access change for Shmem == New syntax [access access] Shmem |access| can be one of . +r -r +w -w +r+w +r-w -r+w -r-w The first |ac…')
 
Line 39: Line 39:
  sync protocol PDrawWindow {
  sync protocol PDrawWindow {
  child:
  child:
     Init(+r-w +r Shmem front, -r-w +r+w Shmem back);
     InitBuffers(-w   +r   Shmem front,
                -r-w +r+w Shmem back);
   
   
  parent:
  parent:
     sync Draw(-r +r Shmem front, DirtyRects[] dirty, ...)
     sync Draw(-r   +r   Shmem curFront,
            returns (+w Shmem);
              -r-w +r+w Shmem curBack,
              DirtyRects[] dirty,
              ...)
      returns (-r-w +r+w Shmem newBack,
                -w   +r  Shmem newFront);
  };
  };


Confirmed users
699

edits