Author: dick
Date: 2005-03-14 10:47:08 -0500 (Mon, 14 Mar 2005)
New Revision: 41798

Modified:
   branches/dick/io-layer-no-daemon/handles.c
Log:
Don't let new file references be blown away if a collection happens too soon

Modified: branches/dick/io-layer-no-daemon/handles.c
===================================================================
--- branches/dick/io-layer-no-daemon/handles.c  2005-03-14 15:39:43 UTC (rev 
41797)
+++ branches/dick/io-layer-no-daemon/handles.c  2005-03-14 15:47:08 UTC (rev 
41798)
@@ -1584,6 +1584,10 @@
                        *share_info = file_share;
                }
        }
+
+       if (*share_info != NULL) {
+               InterlockedExchange (&(*share_info)->timestamp, now);
+       }
        
        thr_ret = _wapi_timestamp_release 
(&_wapi_fileshare_layout->share_check, now);
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to