diff options
author | Petter Urkedal <paurkedal@gmail.com> | 2011-09-13 23:28:27 +0200 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-09-30 17:35:19 +0400 |
commit | 3883051d9fd0fc5aa573b5ded483ebd4e5adeb48 (patch) | |
tree | ac5226f4dce55e382bc8770f50511a81c74e9af4 /NT_MAKEFILE | |
parent | 0b30ed5b081184a3f5624096dbcb02e97003eeee (diff) | |
download | bdwgc-3883051d9fd0fc5aa573b5ded483ebd4e5adeb48.tar.gz |
Fix issues proposed in Ivan's previous commit, etc.
* disclaim.c -> {finalized_mlc.c, misc.c}: Move low-level code to misc.c and
the finalized object-kind to finalized_mlc.c.
* Makefile.am: Update accordingly.
* reclaim.c: Condition #include "gc_disclaim.h" and remove "register".
* include/gc_disclaim.h, include/private/gc_priv.h, finalized_mlc.c, misc.c:
Add GC_API, GC_CALL, and GC_CALLBACK. Use typedefs for function pointers.
* tests/disclaim_test.c, tests/disclaim_bench.c: Fix portability and other
issues.
* include/gc_disclaim.h: Forward declare ...
* finalized_mlc.c: ... and export GC_finalized_objfreelist.
* thread_local_alloc.c (GC_destroy_thread_local): Return finalized
freelists though the same global.
* include/private/thread_local_alloc.h: Tweak (move array above comment).
* Makefile.dj, NT_MAKEFILE, NT_STATIC_THREADS_MAKEFILE,
NT_X64_STATIC_THREADS_MAKEFILE, NT_X64_THREADS_MAKEFILE, gc.mak,
windows-untested/vc60/gc.dsp, windows-untested/vc70/gc.vcproj,
windows-untested/vc71/gc.vcproj: Add include/gc_disclaim.h to various build
systems. (Untested.)
Diffstat (limited to 'NT_MAKEFILE')
-rw-r--r-- | NT_MAKEFILE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NT_MAKEFILE b/NT_MAKEFILE index a0ba4bc0..38f7275e 100644 --- a/NT_MAKEFILE +++ b/NT_MAKEFILE @@ -20,7 +20,7 @@ all: gctest.exe cord\de.exe test_cpp.exe .cpp.obj: $(cc) $(cdebug) $(cflags) $(cvars) -Iinclude -DALL_INTERIOR_POINTERS -DGC_NOT_DLL -D_CRT_SECURE_NO_DEPRECATE $*.cpp /Fo$*.obj -$(OBJS) tests\test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h include\private\gc_locks.h include\private\gc_pmark.h include\gc_mark.h include\private\msvc_dbg.h +$(OBJS) tests\test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h include\private\gc_locks.h include\private\gc_pmark.h include\gc_mark.h include\gc_disclaim.h include\private\msvc_dbg.h gc.lib: $(OBJS) lib /MACHINE:i386 /out:gc.lib $(OBJS) |