~kris/9p

9hist

7f2a6fa17b09b452a591737e50718fabdf394767 — David du Colombier 24 years ago 903a706
Plan 9 from Bell Labs 2002-04-18
2 files changed, 3 insertions(+), 0 deletions(-)

M pc/fns.h
M port/taslock.c
M pc/fns.h => pc/fns.h +1 -0
@@ 131,6 131,7 @@ void	touser(void*);
void	trapenable(int, void (*)(Ureg*, void*), void*, char*);
void	trapinit(void);
int	tas(void*);
uvlong	tscticks(uvlong*);
ulong	umbmalloc(ulong, int, int);
void	umbfree(ulong, int);
ulong	umbrwmalloc(ulong, int, int);

M port/taslock.c => port/taslock.c +2 -0
@@ 182,6 182,8 @@ iunlock(Lock *l)
		print("iunlock: not locked: pc %luX\n", getcallerpc(&l));
	if(!l->isilock)
		print("iunlock of lock: pc %lux, held by %lux\n", getcallerpc(&l), l->pc);
	if(islo())
		print("iunlock while lo: pc %lux, held by %lux\n", getcallerpc(&l), l->pc);

	sr = l->sr;
	l->key = 0;