diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-05-15 20:34:01 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-05-15 20:34:01 +0400 |
commit | 4c153b24d98b49d34a17a0ba91dd959e7b9d6dc7 (patch) | |
tree | 07178ce3c1abad0f7c1f8d8b8ee5c21d35f2c4bd /winsup/cygwin/wincap.h | |
parent | 43334bd027aed0c02a9f6fb71f995cdcd4cfc733 (diff) |
* autoload.cc (LoadDLLfuncNt): Re-invent.
(NtCreateTransaction): Define.
(NtCommitTransaction): Define.
(NtRollbackTransaction): Define.
(RtlGetCurrentTransaction): Define.
(RtlSetCurrentTransaction): Define.
* ntdll.h (TRANSACTION_ALL_ACCESS): Define.
(NtCreateTransaction): Declare.
(NtCommitTransaction): Declare.
(NtRollbackTransaction): Declare.
(RtlGetCurrentTransaction): Declare.
(RtlSetCurrentTransaction): Declare.
* syscalls.cc (start_transaction): New static function to start TxF
transaction.
(stop_transaction): New static function to end TxF transaction.
(rename): Call start_transaction and stop_transaction where appropriate
on systems supporting transactions.
* wincap.h (wincaps::has_transactions): New element.
* wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index b1b8a3c72..2035ecc5a 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -40,6 +40,7 @@ struct wincaps unsigned has_gaa_on_link_prefix : 1; unsigned supports_all_posix_ai_flags : 1; unsigned has_restricted_stack_args : 1; + unsigned has_transactions : 1; }; class wincapc @@ -86,6 +87,7 @@ public: bool IMPLEMENT (has_gaa_on_link_prefix) bool IMPLEMENT (supports_all_posix_ai_flags) bool IMPLEMENT (has_restricted_stack_args) + bool IMPLEMENT (has_transactions) #undef IMPLEMENT }; |