Changes in / [ee2938a:48786bc8]
- Location:
- src
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine.c
ree2938a r48786bc8 99 99 // Wrapper for co 100 100 void CoroutineCtxSwitch(coroutine_desc* src, coroutine_desc* dst) { 101 disable_interrupts();101 // THREAD_GETMEM( This )->disableInterrupts(); 102 102 103 103 // set state of current coroutine to inactive … … 115 115 src->state = Active; 116 116 117 enable_interrupts( __cfaabi_dbg_ctx);117 // THREAD_GETMEM( This )->enableInterrupts(); 118 118 } //ctxSwitchDirect 119 119 -
src/tests/preempt_longrun/Makefile.am
ree2938a r48786bc8 18 18 max_time=600 19 19 preempt=1_000ul 20 debug=-debug21 20 22 21 REPEAT = ${abs_top_srcdir}/tools/repeat 23 22 TIME = /usr/bin/time -f "%E" 24 23 25 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ - O2 -DPREEMPTION_RATE=${preempt}24 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt} 26 25 CFLAGS = ${BUILD_FLAGS} 27 26 CC = @CFA_BINDIR@/@CFA_NAME@ 28 27 29 TESTS = block c oroutine create disjoint enter enter3 processor stack wait yield28 TESTS = block create disjoint enter enter3 processor stack wait yield 30 29 31 30 .INTERMEDIATE: ${TESTS} … … 37 36 38 37 % : %.c ${CC} 39 ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug)-o ${@}38 ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@} 40 39 41 40 %.run : % ${REPEAT} -
src/tests/preempt_longrun/Makefile.in
ree2938a r48786bc8 451 451 max_time = 600 452 452 preempt = 1_000ul 453 debug = -debug454 453 REPEAT = ${abs_top_srcdir}/tools/repeat 455 454 TIME = /usr/bin/time -f "%E" 456 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ - O2 -DPREEMPTION_RATE=${preempt}457 TESTS = block c oroutine create disjoint enter enter3 processor stack wait yield455 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt} 456 TESTS = block create disjoint enter enter3 processor stack wait yield 458 457 all: all-am 459 458 … … 644 643 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ 645 644 "$$tst" $(AM_TESTS_FD_REDIRECT) 646 coroutine.log: coroutine647 @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)653 645 create.log: create 654 646 @p='create'; \ … … 881 873 882 874 % : %.c ${CC} 883 ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug)-o ${@}875 ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@} 884 876 885 877 %.run : % ${REPEAT}
Note: See TracChangeset
for help on using the changeset viewer.