Ignore:
Timestamp:
Jul 4, 2023, 5:06:57 PM (11 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
218685e
Parents:
1f39a28
Message:

minor actor stealing section changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/colby_parsons_MMAth/text/actors.tex

    r1f39a28 r3883609  
    631631
    632632There is one last piece to the stealing puzzle.
    633 There are two steps to gulping a queue.
    634 First the victim must dereference its current queue pointer from @worker_queues@; then it calls @transfer@ which gulps the queue.
     633When gulping a queue there are two steps:
     634\begin{enumerate}[topsep=5pt,itemsep=3pt,parsep=0pt]
     635\item
     636First the victim must dereference its current queue pointer from @worker_queues@
     637
     638\item
     639Then the victim calls @transfer@ which gulps the queue.
     640\end{enumerate}
    635641If a thief steals the queue pointer after the victim dereferences it and before the victim calls @transfer@ (between the two steps), this poses a problem.
    636642The thief could potentially gulp from the queue and process it at the same time as the victim.
Note: See TracChangeset for help on using the changeset viewer.