Changeset 1553a55 for libcfa/src


Ignore:
Timestamp:
Nov 22, 2022, 10:18:00 AM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
29702ad
Parents:
639e4fc
Message:

Explicitly zero initialize the intrusive link fields

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    r639e4fc r1553a55  
    513513        rdy_link.next = 0p;
    514514        rdy_link.ts   = MAX;
     515        user_link.next = 0p;
     516        user_link.prev = 0p;
     517        cltr_link.next = 0p;
     518        cltr_link.prev = 0p;
    515519        preferred = ready_queue_new_preferred();
    516520        last_proc = 0p;
  • libcfa/src/concurrency/thread.cfa

    r639e4fc r1553a55  
    4646        rdy_link.next = 0p;
    4747        rdy_link.ts   = MAX;
     48        user_link.next = 0p;
     49        user_link.prev = 0p;
     50        cltr_link.next = 0p;
     51        cltr_link.prev = 0p;
    4852        preferred = ready_queue_new_preferred();
    4953        last_proc = 0p;
Note: See TracChangeset for help on using the changeset viewer.