Changeset 090a7c5 for tests


Ignore:
Timestamp:
May 20, 2021, 1:22:08 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7404cdc
Parents:
c21f5a9
Message:

Disable preemption in clib_tls.
The tls init feature is not very robust, but it is much less with preemption

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/clib_tls.c

    rc21f5a9 r090a7c5  
    33#include <clib/cfathread.h>
    44#include <bits/defs.hfa>
     5#include <time_t.hfa>
    56
    67extern "C" {
    78void _exit(int status);
    89}
     10
     11Duration default_preemption(){
     12        return 0;
     13}
     14
    915
    1016thread_local int checkval = 0xBAADF00D;
Note: See TracChangeset for help on using the changeset viewer.