[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-cvs
Subject:    [Mono-cvs-list] Mono CVS: debugger martin
From:       martin () mono-cvs ! ximian ! com (Martin Baulig)
Date:       2004-06-30 16:26:19
Message-ID: 20040630162619.54A5A94760 () mono-cvs ! ximian ! com
[Download RAW message or body]


CVSROOT:	/cvs/public
Module name:	debugger
Changes by:	martin	04/06/30 12:26:19

Modified files:
	.              : ChangeLog 
	backends       : BreakpointManager.cs ThreadManager.cs 
	backends/server: Makefile.am breakpoints.c breakpoints.h 
	                 i386-arch.c 
	classes        : ObjectCache.cs Report.cs Threading.cs 
Added files:
	backends/server: mutex.c mutex.h 

Log message:
2004-06-30  Martin Baulig  <martin@ximian.com>

* classes/ObjectCache.cs: Don't make the `objects' ArrayList
synchronized, protect it with a mutex instead.  This seems to fix
the deadlock.

* classes/Threading.cs (DebuggerMutex): Use GMutex instead of Mono
mutexes.

* backends/server/breakpoints.h (BreakpointManager): Removed the
`lock_func' and `unlock_func'.
(mono_debugger_breakpoint_manager_new): Don't take the function
pointers as arguments anymore.
(mono_debugger_breakpoint_manager_lock): Don't take any arguments,
this is now global.
(mono_debugger_breakpoint_manager_unlock): Likewise.

* backends/server/breakpoints.c: Use a GStaticRecMutex.

* backends/server/mutex.[ch]: New files.

_______________________________________________
Mono-cvs-list maillist  -  Mono-cvs-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-cvs-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic