[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs, 1.23, 1
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs, 1.23, 1.24 |
Date: |
Sat, 23 Aug 2003 05:44:21 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv16164/runtime/System
Modified Files:
AppDomain.cs
Log Message:
Support code for remoting contexts.
Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** AppDomain.cs 7 Aug 2003 14:02:09 -0000 1.23
--- AppDomain.cs 23 Aug 2003 09:44:19 -0000 1.24
***************
*** 29,32 ****
--- 29,33 ----
using System.Reflection.Emit;
using System.Runtime.Remoting;
+ using System.Runtime.Remoting.Contexts;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
***************
*** 48,52 ****
--- 49,55 ----
{
// Internal state.
+ private static int nextDomainID = 0;
private String friendlyName;
+ internal int domainID;
#if !ECMA_COMPAT
private Evidence evidence;
***************
*** 55,58 ****
--- 58,64 ----
#endif
private static AppDomain currentDomain;
+ #if CONFIG_REMOTING
+ internal Context defaultContext;
+ #endif
// Construct a new AppDomain instance.
***************
*** 62,65 ****
--- 68,75 ----
{
throw new ArgumentNullException("name");
+ }
+ lock(typeof(AppDomain))
+ {
+ domainID = ++nextDomainID;
}
friendlyName = name;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs, 1.23, 1.24,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1292,1.1293
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Contexts Context.cs, 1.3, 1.4 ContextAttribute.cs, 1.1, 1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1292,1.1293
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Contexts Context.cs, 1.3, 1.4 ContextAttribute.cs, 1.1, 1.2
- Index(es):