- Timestamp:
- Jul 4, 2023, 5:06:57 PM (20 months ago)
- Branches:
- master
- Children:
- 218685e
- Parents:
- 1f39a28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/text/actors.tex
r1f39a28 r3883609 631 631 632 632 There 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. 633 When gulping a queue there are two steps: 634 \begin{enumerate}[topsep=5pt,itemsep=3pt,parsep=0pt] 635 \item 636 First the victim must dereference its current queue pointer from @worker_queues@ 637 638 \item 639 Then the victim calls @transfer@ which gulps the queue. 640 \end{enumerate} 635 641 If 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. 636 642 The 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.