Changeset 57004 in vbox for trunk/include/iprt/lockvalidator.h
- Timestamp:
- Jul 19, 2015 12:53:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/lockvalidator.h
r56291 r57004 265 265 * @param ... Format string arguments. 266 266 */ 267 RTDECL(void) RTLockValidatorRecExclInit(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 268 void *hLock, bool fEnabled, const char *pszNameFmt, ...);267 RTDECL(void) RTLockValidatorRecExclInit(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, 268 bool fEnabled, const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(6, 7); 269 269 /** 270 270 * Initialize a lock validator record. … … 286 286 * @param va Format string arguments. 287 287 */ 288 RTDECL(void) RTLockValidatorRecExclInitV(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 289 void *hLock, bool fEnabled, const char *pszNameFmt, va_list va);288 RTDECL(void) RTLockValidatorRecExclInitV(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, 289 bool fEnabled, const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(6, 0); 290 290 /** 291 291 * Uninitialize a lock validator record previously initialized by … … 317 317 * @param ... Format string arguments. 318 318 */ 319 RTDECL(int) RTLockValidatorRecExclCreate(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 320 void *hLock, bool fEnabled, const char *pszNameFmt, ...);319 RTDECL(int) RTLockValidatorRecExclCreate(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, 320 bool fEnabled, const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(6, 7); 321 321 322 322 /** … … 341 341 * @param va Format string arguments. 342 342 */ 343 RTDECL(int) RTLockValidatorRecExclCreateV(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 344 void *hLock, bool fEnabled, const char *pszNameFmt, va_list va);343 RTDECL(int) RTLockValidatorRecExclCreateV(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, 344 bool fEnabled, const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(6, 0); 345 345 346 346 /** … … 565 565 */ 566 566 RTDECL(void) RTLockValidatorRecSharedInit(PRTLOCKVALRECSHRD pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 567 void *hLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, ...); 567 void *hLock, bool fSignaller, bool fEnabled, 568 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(7, 8); 568 569 569 570 /** … … 590 591 */ 591 592 RTDECL(void) RTLockValidatorRecSharedInitV(PRTLOCKVALRECSHRD pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 592 void *hLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, va_list va); 593 void *hLock, bool fSignaller, bool fEnabled, 594 const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(7, 0); 593 595 594 596 /** … … 625 627 */ 626 628 RTDECL(int) RTLockValidatorRecSharedCreate(PRTLOCKVALRECSHRD *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 627 void *pvLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, ...); 629 void *pvLock, bool fSignaller, bool fEnabled, 630 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(7, 8); 628 631 629 632 /** … … 652 655 */ 653 656 RTDECL(int) RTLockValidatorRecSharedCreateV(PRTLOCKVALRECSHRD *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 654 void *pvLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, va_list va); 657 void *pvLock, bool fSignaller, bool fEnabled, 658 const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(7, 0); 655 659 656 660 /** … … 945 949 bool fAutodidact, bool fRecursionOk, bool fStrictReleaseOrder, 946 950 RTMSINTERVAL cMsMinDeadlock, RTMSINTERVAL cMsMinOrder, 947 const char *pszNameFmt, ...) ;951 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(8, 9); 948 952 949 953 /** … … 974 978 bool fAutodidact, bool fRecursionOk, bool fStrictReleaseOrder, 975 979 RTMSINTERVAL cMsMinDeadlock, RTMSINTERVAL cMsMinOrder, 976 const char *pszNameFmt, va_list va) ;980 const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(8, 0); 977 981 978 982 /** … … 991 995 * @param ... Format string arguments. 992 996 */ 993 RTDECL(int) RTLockValidatorClassCreate(PRTLOCKVALCLASS phClass, bool fAutodidact, RT_SRC_POS_DECL, const char *pszNameFmt, ...); 997 RTDECL(int) RTLockValidatorClassCreate(PRTLOCKVALCLASS phClass, bool fAutodidact, RT_SRC_POS_DECL, 998 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(6, 7); 994 999 995 1000 /** … … 1009 1014 * @param ... Format string arguments. 1010 1015 */ 1011 RTDECL(RTLOCKVALCLASS) RTLockValidatorClassCreateUnique(RT_SRC_POS_DECL, const char *pszNameFmt, ...); 1016 RTDECL(RTLOCKVALCLASS) RTLockValidatorClassCreateUnique(RT_SRC_POS_DECL, 1017 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(4, 5); 1012 1018 1013 1019 /** … … 1030 1036 * @param ... Format string arguments. 1031 1037 */ 1032 RTDECL(RTLOCKVALCLASS) RTLockValidatorClassForSrcPos(RT_SRC_POS_DECL, const char *pszNameFmt, ...); 1038 RTDECL(RTLOCKVALCLASS) RTLockValidatorClassForSrcPos(RT_SRC_POS_DECL, 1039 const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR_MAYBE_NULL(4, 5); 1033 1040 1034 1041 /**
Note:
See TracChangeset
for help on using the changeset viewer.