Changeset bb83b47 for libcfa/src


Ignore:
Timestamp:
Jul 11, 2020, 6:35:19 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7d9bbef
Parents:
b56f55c
Message:

change initialization of kernelTLS to use @= and remove spurious initialization

File:
1 edited

Legend:

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

    rb56f55c rbb83b47  
    1010// Created On       : Tue Jan 17 12:27:26 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue May 26 22:05:19 2020
    13 // Update Count     : 59
     12// Last Modified On : Thu Jul  9 06:22:54 2020
     13// Update Count     : 66
    1414//
    1515
     
    148148//-----------------------------------------------------------------------------
    149149// Global state
    150 thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" ))) = {
     150thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" ))) @= {
    151151        NULL,                                                                                           // cannot use 0p
    152152        NULL,
    153153        NULL,
    154154        { 1, false, false },
    155         6u //this should be seeded better but due to a bug calling rdtsc doesn't work
    156155};
    157156
Note: See TracChangeset for help on using the changeset viewer.