Ignore:
Timestamp:
May 25, 2022, 3:18:21 PM (21 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
5024df4
Parents:
6dc7011a
Message:

changed some MAX to ULLONG_MAX to avoid the memory access where possible and removed some -1u I missed last time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.cfa

    r6dc7011a rb035046  
    1919#include "thread.hfa"
    2020
     21#include "exception.hfa"
    2122#include "kernel/private.hfa"
    22 #include "exception.hfa"
     23#include "limits.hfa"
    2324
    2425#define __CFA_INVOKE_PRIVATE__
     
    4445        curr_cluster = &cl;
    4546        link.next = 0p;
    46         link.ts   = -1llu;
     47        link.ts   = MAX;
    4748        preferred = ready_queue_new_preferred();
    4849        last_proc = 0p;
Note: See TracChangeset for help on using the changeset viewer.