Пример #1
0
        internal MutexStatStruct mutex_stat(uint flags)
        {
            int    err = 0;
            IntPtr ptr = mutex_stat(flags, ref err);

            DatabaseException.ThrowException(err);
            MutexStatStruct ret = (MutexStatStruct)Marshal.PtrToStructure(ptr, typeof(MutexStatStruct));

            libdb_csharp.__os_ufree(null, ptr);
            return(ret);
        }
Пример #2
0
 internal MutexStats(Internal.MutexStatStruct stats)
 {
     st = stats;
 }
Пример #3
0
 internal MutexStats(Internal.MutexStatStruct stats)
 {
     st = stats;
 }