Changes in / [ee2938a:48786bc8]


Ignore:
Location:
src
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/coroutine.c

    ree2938a r48786bc8  
    9999// Wrapper for co
    100100void CoroutineCtxSwitch(coroutine_desc* src, coroutine_desc* dst) {
    101         disable_interrupts();
     101        // THREAD_GETMEM( This )->disableInterrupts();
    102102
    103103        // set state of current coroutine to inactive
     
    115115        src->state = Active;
    116116
    117         enable_interrupts( __cfaabi_dbg_ctx );
     117        // THREAD_GETMEM( This )->enableInterrupts();
    118118} //ctxSwitchDirect
    119119
  • src/tests/preempt_longrun/Makefile.am

    ree2938a r48786bc8  
    1818max_time=600
    1919preempt=1_000ul
    20 debug=-debug
    2120
    2221REPEAT = ${abs_top_srcdir}/tools/repeat
    2322TIME = /usr/bin/time -f "%E"
    2423
    25 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt}
     24BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
    2625CFLAGS = ${BUILD_FLAGS}
    2726CC = @CFA_BINDIR@/@CFA_NAME@
    2827
    29 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
     28TESTS = block create disjoint enter enter3 processor stack wait yield
    3029
    3130.INTERMEDIATE: ${TESTS}
     
    3736
    3837% : %.c ${CC}
    39         ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
     38        ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@}
    4039
    4140%.run : % ${REPEAT}
  • src/tests/preempt_longrun/Makefile.in

    ree2938a r48786bc8  
    451451max_time = 600
    452452preempt = 1_000ul
    453 debug = -debug
    454453REPEAT = ${abs_top_srcdir}/tools/repeat
    455454TIME = /usr/bin/time -f "%E"
    456 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt}
    457 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
     455BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
     456TESTS = block create disjoint enter enter3 processor stack wait yield
    458457all: all-am
    459458
     
    644643        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
    645644        "$$tst" $(AM_TESTS_FD_REDIRECT)
    646 coroutine.log: coroutine
    647         @p='coroutine'; \
    648         b='coroutine'; \
    649         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
    650         --log-file $$b.log --trs-file $$b.trs \
    651         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
    652         "$$tst" $(AM_TESTS_FD_REDIRECT)
    653645create.log: create
    654646        @p='create'; \
     
    881873
    882874% : %.c ${CC}
    883         ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
     875        ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@}
    884876
    885877%.run : % ${REPEAT}
Note: See TracChangeset for help on using the changeset viewer.