odds and ends
This commit is contained in:
parent
e12fa2a49b
commit
7e42d21012
14 changed files with 1454 additions and 5 deletions
|
|
@ -3,7 +3,6 @@
|
|||
* To use this you need some patches to Valgrind that
|
||||
* let it help out with detecting stack overflow.
|
||||
*/
|
||||
#define USEVALGRIND 0
|
||||
#ifdef USEVALGRIND
|
||||
#include <valgrind/memcheck.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ altexec(Alt *a, int spl)
|
|||
_threaddebug(DBGCHAN, "unlocking the chanlock");
|
||||
unlock(&chanlock);
|
||||
_procsplx(spl);
|
||||
_threaddebug(DBGCHAN, "chanlock is %lud", *(ulong*)&chanlock);
|
||||
_threaddebug(DBGCHAN, "chanlock is %lud", *(ulong*)(void*)&chanlock);
|
||||
while(_threadrendezvous((ulong)b->tag, 0) == ~0)
|
||||
;
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -56,3 +56,9 @@ CLEANFILES=$CLEANFILES tprimes texec
|
|||
asm-Linux-386.$O: asm-FreeBSD-386.s
|
||||
asm-NetBSD-386.$O: asm-FreeBSD-386.s
|
||||
asm-OpenBSD-386.$O: asm-FreeBSD-386.s
|
||||
|
||||
# sorry
|
||||
VG=`test -d /home/rsc/pub/valgrind-debian && echo -DUSEVALGRIND`
|
||||
|
||||
CFLAGS=$CFLAGS $VG
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue