|
From: Jeremy F. <je...@go...> - 2002-10-20 22:50:05
|
On Sun, 2002-10-20 at 15:21, Julian Seward wrote: > Jeremy, I see 17-hg-generic-mutex. I presume this is infrastructure for > the thread-segments stuff, or something like that. I've got a number of plans for this: - keep a graph of mutex dependencies so that incorrect locking order can be detected - keep track of mutex lifetimes to handle mutexes in allocated memory which gets freed - support non-pthreads threading using client requests to indicate lock/unlock/context switch - record execution context when a mutex state changes, so it can be reported - and some other stuff (lots use uses for maintaining per-mutex information) I think the thread segments stuff only needs a redefinition of tid (which fits in well with the non-pthreads changes as well). J |