Ignore:
Timestamp:
Mar 21, 2022, 1:28:59 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
dbe2533
Parents:
98d1b90
Message:

Added spin lock to io drain.
last step before completion fairness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io/setup.cfa

    r98d1b90 r4ecc35a  
    214214
    215215                // completion queue
     216                cq.lock      = 0;
    216217                cq.head      = (volatile __u32 *)(((intptr_t)cq.ring_ptr) + params.cq_off.head);
    217218                cq.tail      = (volatile __u32 *)(((intptr_t)cq.ring_ptr) + params.cq_off.tail);
Note: See TracChangeset for help on using the changeset viewer.