mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 09:54:39 +08:00
include: Add concurrencysal.h to the headers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
parent
be6f9cbf08
commit
40c6d3aec8
49
mingw-w64-headers/include/concurrencysal.h
Normal file
49
mingw-w64-headers/include/concurrencysal.h
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#ifndef CONCURRENCYSAL_HXX
|
||||
#define CONCURRENCYSAL_HXX
|
||||
|
||||
#define _Benign_race_begin_
|
||||
#define _Benign_race_end_
|
||||
#define _No_competing_thread_begin_
|
||||
#define _No_competing_thread_end_
|
||||
|
||||
#define _Acquires_exclusive_lock_(lock)
|
||||
#define _Acquires_lock_(lock)
|
||||
#define _Acquires_nonreentrant_lock_(lock)
|
||||
#define _Acquires_shared_lock_(lock)
|
||||
#define _Analysis_assume_lock_acquired_(lock)
|
||||
#define _Analysis_assume_lock_released_(lock)
|
||||
#define _Analysis_assume_lock_held_(lock)
|
||||
#define _Analysis_assume_lock_not_held_(lock)
|
||||
#define _Analysis_assume_same_lock_(lock1, lock2)
|
||||
#define _Analysis_suppress_lock_checking_(lock)
|
||||
#define _Create_lock_level_(level)
|
||||
#define _Csalcat1_(x,y)
|
||||
#define _Csalcat2_(x,y)
|
||||
#define _Function_ignore_lock_checking_(lock)
|
||||
#define _Guarded_by_(lock)
|
||||
#define _Has_lock_kind_(kind)
|
||||
#define _Has_lock_level_(level)
|
||||
#define _Interlocked_
|
||||
#define _Internal_lock_level_order_(a,b)
|
||||
#define _Lock_level_order_(a,b)
|
||||
#define _No_competing_thread_
|
||||
#define _Post_same_lock_(lock1,lock2)
|
||||
#define _Releases_exclusive_lock_(lock)
|
||||
#define _Releases_lock_(lock)
|
||||
#define _Releases_nonreentrant_lock_(lock)
|
||||
#define _Releases_shared_lock_(lock)
|
||||
#define _Requires_exclusive_lock_held_(lock)
|
||||
#define _Requires_shared_lock_held_(lock)
|
||||
#define _Requires_lock_held_(lock)
|
||||
#define _Requires_lock_not_held_(lock)
|
||||
#define _Requires_no_locks_held_
|
||||
#define _Write_guarded_by_(lock)
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user