Author: Armin Rigo <ar...@tunes.org> Branch: c7-refactor Changeset: r788:81514bb0cb7a Date: 2014-02-19 17:49 +0100 http://bitbucket.org/pypy/stmgc/changeset/81514bb0cb7a/
Log: Getting started on duhton (nothing done so far) diff --git a/duhton/Makefile b/duhton/Makefile --- a/duhton/Makefile +++ b/duhton/Makefile @@ -1,27 +1,20 @@ -C7SOURCES = ../c7/core.c \ - ../c7/pagecopy.c \ - ../c7/list.c \ - ../c7/pages.c \ - ../c7/nursery.c \ - ../c7/stmsync.c \ - ../c7/largemalloc.c \ - ../c7/reader_writer_lock.c +C7SOURCES = ../c7/stmgc.c ../c7/stm/*.c -C7HEADERS = ../c7/*.h +C7HEADERS = ../c7/stmgc.h ../c7/stm/*.h all: duhton_debug duhton duhton: *.c *.h $(C7SOURCES) $(C7HEADERS) - clang -pthread -g -O2 -o duhton *.c $(C7SOURCES) -Wall + clang -pthread -g -O2 -o duhton *.c ../c7/stmgc.c -Wall duhton_release: *.c *.h $(C7SOURCES) $(C7HEADERS) - clang -pthread -g -DNDEBUG -O2 -o duhton_release *.c $(C7SOURCES) -Wall + clang -pthread -g -DNDEBUG -O2 -o duhton_release *.c ../c7/stmgc.c -Wall duhton_debug: *.c *.h $(C7SOURCES) $(C7HEADERS) - clang -pthread -g -DDu_DEBUG -o duhton_debug *.c $(C7SOURCES) -Wall + clang -pthread -g -DDu_DEBUG -o duhton_debug *.c ../c7/stmgc.c -Wall clean: rm -f duhton duhton_debug diff --git a/duhton/duhton.h b/duhton/duhton.h --- a/duhton/duhton.h +++ b/duhton/duhton.h @@ -4,8 +4,7 @@ #include <stdio.h> #include <stdlib.h> #include <assert.h> -#include "../c7/core.h" -#include "../c7/list.h" +#include "../c7/stmgc.h" #define STM 1 /* hackish removal of all read/write barriers. synchronization is up to _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit