[blam] Rename the Item lock to obj



commit a5563ffae25dcd4f69f2ddf57860731b360a1a36
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date:   Thu Aug 25 21:16:57 2011 +0200

    Rename the Item lock to obj
    
    Signed-off-by: Carlos MartÃn Nieto <carlos cmartin tk>

 src/Item.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Item.cs b/src/Item.cs
index f96dcde..bcf4d0b 100644
--- a/src/Item.cs
+++ b/src/Item.cs
@@ -18,7 +18,7 @@ namespace Imendio.Blam {
 		public string   keywords = "";
 
         private int ref_cnt = 0;
-        private Object ilock = new Object();
+        private Object obj = new Object();
 
         public delegate void UpdateHandler(Item item);
         public event UpdateHandler Updated;
@@ -79,14 +79,14 @@ namespace Imendio.Blam {
 
         public Item(SyndicationItem item) : base(item)
         {
-            lock(ilock){
+            lock(obj){
                 FillItem(item);
             }
         }
 
         public bool Update(SyndicationItem item)
         {
-            lock(ilock){
+            lock(obj){
                 FillItem(item);
             }
             return true;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]