* src/threads/critical.c: Removed.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Wed, 25 Jun 2008 10:45:46 +0000 (12:45 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Wed, 25 Jun 2008 10:45:46 +0000 (12:45 +0200)
commitb400b74fa55293e29fb5eec2b2a454621933e204
tree947529aff4a1178abb06cacf42febe0ae992db67
parent1bcdcc815f4555d8a949b7a5300aa6084dd5f808
* src/threads/critical.c: Removed.
* src/threads/critical.h: Likewise.
* src/mm/boehm-gc/include/gc.h (GC_signum1, GC_signum2): Removed.
* src/mm/boehm-gc/pthread_stop_world.c (lock_stopworld)
(unlock_stopworld): Likewise.
(GC_signum1, GC_signum2): Likewise.
* src/threads/Makefile.am (libthreads_la_SOURCES): Removed
critical.[ch].
* src/threads/posix/thread-posix.c (STOPWORLD_FROM_GC)
(STOPWORLD_FROM_CLASS_NUMBERING): Removed.
(stopworldwhere): Likewise.
[__IRIX__] (suspend_ack_lock, suspend_cond): Likewise.
(lock_stopworld, unlock_stopworld, threads_cast_sendsignals)
(threads_cast_darwinstop, threads_cast_darwinresume)
(threads_cast_irixresume, threads_sigsuspend_handler): Likewise.
[ENABLE_GC_CACAO] (threads_stopworld, threads_startworld): Added
#ifdef, replaced {lock,unlock}_stopworld with mutex_{lock,unlock}.
[ENABLE_GC_CACAO] (threads_suspend_ack, threads_resume_thread): Added
#ifdef.
* src/threads/thread.c (threads/critical.h): Removed.
* src/vm/jit/asmpart.h [ENABLE_THREADS] (threads/critical.h):
Likewise.
* src/vm/jit/codegen-common.c (codegen_setup): Removed listcritical.
(codegen_reset): Likewise.
[ENABLE_THREADS] (codegen_critical_section_new)
(codegen_critical_section_start, codegen_critical_section_end)
(codegen_critical_section_finish): Removed.
(codegen_finish) [ENABLE_THREADS]: Removed
codegen_critical_section_finish.
* src/vm/jit/codegen-common.h (critical_section_ref_t): Removed.
(codegendata): Removed listcritical.
[ENABLE_THREADS] (codegen_critical_section_new)
(codegen_critical_section_start, codegen_critical_section_end)
(codegen_critical_section_finish, CODEGEN_CRITICAL_SECTION_NEW)
(CODEGEN_CRITICAL_SECTION_START, CODEGEN_CRITICAL_SECTION_END):
Removed.
* src/vm/vm.c (vm_create): Removed critical_init.
* src/vmcore/linker.c (linker_compute_subclasses): Removed obsolete
threads_{stop,start}world.
* src/vm/jit/alpha/codegen.c,
src/vm/jit/arm/codegen.c,
src/vm/jit/i386/codegen.c,
src/vm/jit/m68k/codegen.c,
src/vm/jit/mips/codegen.c,
src/vm/jit/powerpc/codegen.c,
src/vm/jit/powerpc64/codegen.c,
src/vm/jit/s390/codegen.c (codegen_emit): Removed
CODEGEN_CRITICAL_SECTION_NEW, CODEGEN_CRITICAL_SECTION_START,
CODEGEN_CRITICAL_SECTION_END.
* src/vm/jit/alpha/freebsd/md-os.c,
src/vm/jit/alpha/linux/md-os.c,
src/vm/jit/arm/linux/md-os.c,
src/vm/jit/sparc64/codegen.c,
src/vm/jit/x86_64/codegen.c,
src/vm/jit/i386/cygwin/md-os.c,
src/vm/jit/i386/darwin/md-os.c,
src/vm/jit/i386/freebsd/md-os.c,
src/vm/jit/i386/linux/md-os.c,
src/vm/jit/mips/irix/md-os.c,
src/vm/jit/mips/linux/md-os.c,
src/vm/jit/mips/uclinux/md-os.c,
src/vm/jit/powerpc/darwin/md-os.c,
src/vm/jit/powerpc/linux/md-os.c,
src/vm/jit/powerpc/netbsd/md-os.c,
src/vm/jit/powerpc64/linux/md-os.c,
src/vm/jit/s390/md.c,
src/vm/jit/sparc64/linux/md-os.c,
src/vm/jit/sparc64/solaris/md-os.c,
src/vm/jit/x86_64/freebsd/md-os.c,
src/vm/jit/x86_64/linux/md-os.c (md_critical_section_restart):
Removed.
41 files changed:
src/mm/boehm-gc/include/gc.h
src/mm/boehm-gc/pthread_stop_world.c
src/threads/Makefile.am
src/threads/critical.c [deleted file]
src/threads/critical.h [deleted file]
src/threads/posix/thread-posix.c
src/threads/thread.c
src/vm/jit/alpha/codegen.c
src/vm/jit/alpha/freebsd/md-os.c
src/vm/jit/alpha/linux/md-os.c
src/vm/jit/arm/codegen.c
src/vm/jit/arm/linux/md-os.c
src/vm/jit/asmpart.h
src/vm/jit/codegen-common.c
src/vm/jit/codegen-common.h
src/vm/jit/i386/codegen.c
src/vm/jit/i386/cygwin/md-os.c
src/vm/jit/i386/darwin/md-os.c
src/vm/jit/i386/freebsd/md-os.c
src/vm/jit/i386/linux/md-os.c
src/vm/jit/m68k/codegen.c
src/vm/jit/mips/codegen.c
src/vm/jit/mips/irix/md-os.c
src/vm/jit/mips/linux/md-os.c
src/vm/jit/mips/uclinux/md-os.c
src/vm/jit/powerpc/codegen.c
src/vm/jit/powerpc/darwin/md-os.c
src/vm/jit/powerpc/linux/md-os.c
src/vm/jit/powerpc/netbsd/md-os.c
src/vm/jit/powerpc64/codegen.c
src/vm/jit/powerpc64/linux/md-os.c
src/vm/jit/s390/codegen.c
src/vm/jit/s390/md.c
src/vm/jit/sparc64/codegen.c
src/vm/jit/sparc64/linux/md-os.c
src/vm/jit/sparc64/solaris/md-os.c
src/vm/jit/x86_64/codegen.c
src/vm/jit/x86_64/freebsd/md-os.c
src/vm/jit/x86_64/linux/md-os.c
src/vm/vm.c
src/vmcore/linker.c