2005-06-21 Dick Porter <dick@ximian.com>
commit0ad160d0c4a41b56aaa5c547711f8f3bb5ee791f
authorMiguel de Icaza <miguel@gnome.org>
Fri, 8 Jul 2005 20:28:01 +0000 (8 20:28 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 8 Jul 2005 20:28:01 +0000 (8 20:28 -0000)
treecd3487745ac2b4a530fb2e6f59d3fb3dcba79952
parentc0b161af9719ec781039d38c0b572afa29d9586c
2005-06-21  Dick Porter  <dick@ximian.com>

        * mutex-private.h:
        * thread-private.h:
        * mutexes.c:
        * threads.c: Keep a list of owned mutexes in each thread handle,
        so that it is easier to abandon them when the thread exits.
        Removes a bottleneck when multiple threads are finishing in
        parallel.

svn path=/branches/mono-1-1-7/mono/; revision=47119
mono/io-layer/handles.c
mono/io-layer/mutex-private.h
mono/io-layer/mutexes.c
mono/io-layer/thread-private.h
mono/io-layer/threads.c
mono/io-layer/wapi-private.h