protected bool Initialize(Inferior target)
{
try {
mutex.Lock ();
this.target = target;
handle = mono_debugger_thread_db_init (
target.PID, global_lookup_func, read_memory_func,
write_memory_func);
return handle != IntPtr.Zero;
} finally {
this.target = null;
mutex.Unlock ();
}
}