Ignore:
Timestamp:
Oct 13, 2024, 12:28:15 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c565d68
Parents:
1a8b17a
Message:

change CFA runtime libraries to use C designator syntax

File:
1 edited

Legend:

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

    r1a8b17a r1a7203d  
    132132// Global state
    133133__thread struct KernelThreadData __cfaabi_tls __attribute__ ((tls_model ( "initial-exec" ))) @= {
    134         .this_thread : NULL,                                                            // cannot use 0p
    135         .this_processor : NULL,
    136         .sched_lock : false,
    137         .preemption_state : { .disable_count : 1, .enabled : false, .in_progress : false },
     134        .this_thread = NULL,                                                            // cannot use 0p
     135        .this_processor = NULL,
     136        .sched_lock = false,
     137        .preemption_state = { .disable_count = 1, .enabled = false, .in_progress = false },
    138138        // random_state uninitialized
    139         .ready_rng : { .fwd_seed : 0, .bck_seed : 0 },
    140         .this_stats : NULL,
     139        .ready_rng = { .fwd_seed = 0, .bck_seed = 0 },
     140        .this_stats = NULL,
    141141        #ifdef __CFA_WITH_VERIFY__
    142                 .in_sched_lock : false,
    143                 .sched_id : 0,
     142                .in_sched_lock = false,
     143                .sched_id = 0,
    144144        #endif
    145145};
Note: See TracChangeset for help on using the changeset viewer.