예제 #1
0
 void MaybeInitialize()
 {
     lock (this) {
         if (handle == IntPtr.Zero)
         {
             callback = new MonoSCReachabilityCallback(Callback);
             handle   = mono_sc_reachability_new(callback);
         }
     }
 }
예제 #2
0
		static extern IntPtr mono_sc_reachability_new (MonoSCReachabilityCallback callback);
예제 #3
0
		void MaybeInitialize ()
		{
			lock (this) {
				if (handle == IntPtr.Zero) {
					callback = new MonoSCReachabilityCallback (Callback);
					handle = mono_sc_reachability_new (callback);
				}
			}
		}
예제 #4
0
 static extern IntPtr mono_sc_reachability_new(MonoSCReachabilityCallback callback);