Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Threading
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv561/Threading
Modified Files:
Semaphore.cs
Log Message:
Remove "throw ex" code.
Index: Semaphore.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Threading/Semaphore.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Semaphore.cs 15 Sep 2006 21:30:09 -0000 1.10
--- Semaphore.cs 23 Jun 2008 07:21:38 -0000 1.11
***************
*** 89,96 ****
--nPermits;
}
! catch (ThreadInterruptedException ex)
{
Monitor.Pulse(this);
! throw ex;
}
}
--- 89,96 ----
--nPermits;
}
! catch (ThreadInterruptedException)
{
Monitor.Pulse(this);
! throw;
}
}
***************
*** 136,143 ****
}
}
! catch (ThreadInterruptedException ex)
{
Monitor.Pulse(this);
! throw ex;
}
}
--- 136,143 ----
}
}
! catch (ThreadInterruptedException)
{
Monitor.Pulse(this);
! throw;
}
}
|