[Mono-aspnet-list] Deadlock with MVC3 and Task<ViewResult>
Joe Dluzen
jdluzen at gmail.com
Fri Feb 22 00:26:41 UTC 2013
Hi all,
I'm getting a deadlock when attempting to run
http://craigcav.wordpress.com/2010/12/23/asynchronous-mvc-using-the-task-parallel-library/
using the code at https://github.com/CraigCav/Suteki.AsyncMvcTpl,
Windows or Linux.
I've traced it to attempting to lock at
https://github.com/mono/mono/blob/master/mcs/class/System.Web.Mvc3/Mvc/Async/AsyncUtil.cs#L37,
but I can't see what else might be holding it. Not unlocking it on
line 20 makes it work (not tested under stress), but comments in the
code say it might deadlock.
Any ideas? I would really like to use Task<ViewResult> instead of the
original MVC3 async way[1].
Thanks,
Joe
1: I'm holding off on MVC4/4.5/async/await until a rock solid 3.0 is released.
More information about the Mono-aspnet-list
mailing list