mirror of
https://github.com/farcasclaudiu/SmartThreadPool.git
synced 2026-06-22 09:01:19 +03:00
Added refactorings suggested by Simon Cropp
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Examples
|
||||
smartThreadPool.QueueWorkItem(new
|
||||
WorkItemCallback(this.DoDiv), divArgs);
|
||||
|
||||
Exception e = null;
|
||||
Exception e;
|
||||
object obj = wir.GetResult(out e);
|
||||
// e contains the expetion that DoDiv threw
|
||||
if(null == e)
|
||||
|
||||
Reference in New Issue
Block a user