nicko       2004/07/31 07:41:06

  Modified:    src/Util GlobalContextProperties.cs
  Log:
  NETCF Compact Framework does not support volatile keyword
  
  Revision  Changes    Path
  1.2       +4 -0      logging-log4net/src/Util/GlobalContextProperties.cs
  
  Index: GlobalContextProperties.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Util/GlobalContextProperties.cs,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GlobalContextProperties.cs        30 Jul 2004 17:42:36 -0000      1.1
  +++ GlobalContextProperties.cs        31 Jul 2004 14:41:06 -0000      1.2
  @@ -39,7 +39,11 @@
                /// reordering reads and writes of this thread performed on 
different threads.
                /// </para>
                /// </remarks>
  +#if NETCF
  +             private ReadOnlyPropertiesDictionary m_readOnlyProperties = new 
ReadOnlyPropertiesDictionary();
  +#else
                private volatile ReadOnlyPropertiesDictionary 
m_readOnlyProperties = new ReadOnlyPropertiesDictionary();
  +#endif
   
                /// <summary>
                /// Lock object used to synchronize updates within this instance
  
  
  

Reply via email to