[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform FileMethods.cs, 1.6,
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform FileMethods.cs, 1.6, 1.7 |
Date: |
Tue, 19 Aug 2003 01:06:33 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv26178/runtime/Platform
Modified Files:
FileMethods.cs
Log Message:
Add internalcalls to support "FileStream.Lock" and "FileStream.Unlock".
Index: FileMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/FileMethods.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** FileMethods.cs 24 Apr 2003 06:05:03 -0000 1.6
--- FileMethods.cs 19 Aug 2003 05:06:31 -0000 1.7
***************
*** 100,103 ****
--- 100,112 ----
extern public static bool SetLength(IntPtr handle, long value);
+ // Lock a region of a file.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public static bool Lock(IntPtr handle, long position, long
length);
+
+ // Unlock a region of a file.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public static bool Unlock
+ (IntPtr handle, long position, long length);
+
// Get the last-occurring system error code for the current thread.
[MethodImpl(MethodImplOptions.InternalCall)]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform FileMethods.cs, 1.6, 1.7,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1268,1.1269
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h, 1.75, 1.76 int_table.c, 1.78, 1.79 lib_file.c, 1.10, 1.11
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1268,1.1269
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h, 1.75, 1.76 int_table.c, 1.78, 1.79 lib_file.c, 1.10, 1.11
- Index(es):