X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fjit%2Fmips%2Flinux%2Fmd-os.c;h=8461616a35fe7c323668ed969f4a6ef5ab832b4e;hb=bfb7d15b502b8170ec8a9b348c546418c0e44ace;hp=8beb3adf7954352d5d1578919ee1515543e58b73;hpb=2457ad8bcdb80a1026380a158052aa91ad06651d;p=cacao.git diff --git a/src/vm/jit/mips/linux/md-os.c b/src/vm/jit/mips/linux/md-os.c index 8beb3adf7..8461616a3 100644 --- a/src/vm/jit/mips/linux/md-os.c +++ b/src/vm/jit/mips/linux/md-os.c @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - $Id: md-os.c 7688 2007-04-12 09:05:12Z michi $ + $Id: md-os.c 7918 2007-05-20 20:42:18Z michi $ */ @@ -199,8 +199,15 @@ void md_signal_handler_sigusr2(int sig, siginfo_t *siginfo, void *_p) } +/* md_critical_section_restart ************************************************* + + Search the critical sections tree for a matching section and set + the PC to the restart point, if necessary. + +*******************************************************************************/ + #if defined(ENABLE_THREADS) -void thread_restartcriticalsection(ucontext_t *_uc) +void md_critical_section_restart(ucontext_t *_uc) { mcontext_t *_mc; u1 *pc;