So now all the pieces are in place to implement _Jv_ThreadDebug*. The
attached patch does this for POSIX threads only. Win32 and whatever
threading system supported by gij will need implementing eventually.
Keith
ChangeLog
2006-06-26 Keith Seitz <keiths@redhat.com>
* include/posix-threads.h (_Jv_Thread_t): Add mutex and
count for JDWP suspend counting.
* posix-threads.cc (_Jv_ThreadInitData): Initialize suspend
couont mutex and initial count.
(_Jv_ThreadDestroyData): Destroy suspend count mutex.
(_Jv_ThreadDebugResume): Implement.
(_Jv_ThreadDebugSuspendCount): Likewise.
(_Jv_ThreadDebugSuspend): Likewise.