git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3633
return VG_(is_kerror)(res) ? -1 : 0;
}
-/* Terminate this single thread */
-void VG_(exit_single)( Int status )
-{
- (void)VG_(do_syscall1)(__NR_exit, status );
- /* Why are we still alive here? */
- /*NOTREACHED*/
- *(volatile Int *)0 = 'x';
- vg_assert(2+2 == 5);
-}
-
/* Pull down the entire world */
void VG_(exit)( Int status )
{
extern void VG_(exit)( Int status )
__attribute__ ((__noreturn__));
-/* terminate the calling thread - probably not what you want */
-extern void VG_(exit_single)( Int status )
- __attribute__ ((__noreturn__));
-
/* Prints a panic message (a constant string), appends newline and bug
reporting info, aborts. */
__attribute__ ((__noreturn__))