Граф коммитов

124 Коммитов

Автор SHA1 Сообщение Дата
Andrew Arnott f8a54bcb1f
Update VSTHRD200 docs to note abuse of Async suffix 2018-09-22 06:40:35 -07:00
Andrew Arnott 494065d390
Merge branch 'v15.8' 2018-08-15 10:27:48 -07:00
Andrew Arnott 68dddffd2c
Fix analyzer config doc inconsistencies
Fixes #353
2018-08-15 10:27:31 -07:00
Andrew Arnott 2ef2a8602e
Merge branch 'v15.8' 2018-08-10 19:32:51 -07:00
Andrew Arnott 2aab2e6722
Document that VSTHRD010 requires full solution analysis 2018-08-10 19:31:42 -07:00
Andrew Arnott ad33237fbe
Merge pull request #339 from sharwell/customize-legacy-apis
Allow extensions to the set of legacy thread switching members
2018-08-07 09:35:30 -07:00
Sam Harwell f913deffcb Document configuration file vs-threading.LegacyThreadSwitchingMembers.txt 2018-08-07 10:53:51 -05:00
Sam Harwell 6477f61392 Update titles in index to match documentation pages 2018-08-04 21:52:02 -05:00
Andrew Arnott 4af76f1d41
Merge pull request #322 from AArnott/libdocs
Document how a library can depend on JTF
2018-07-25 13:39:00 -06:00
Andrew Arnott c0f89c6864
Document how a library can depend on JTF 2018-07-20 15:23:18 -07:00
Andrew Arnott d1a7c58b06
Document the WithPriority extension method 2018-07-16 21:48:44 -07:00
Andrew Arnott bb4b94eac9
Merge pull request #308 from AArnott/fix255
Enhance VSTHRD003 to report any awaiting of tasks scheduled in another context
2018-07-11 22:42:18 -07:00
Andrew Arnott a2b5f3b337
Merge remote-tracking branch 'upstream/v15.8' into fix255 2018-07-11 19:11:54 -07:00
Andrew Arnott bb904e929c
Merge branch 'v15.8' 2018-07-08 22:40:14 -07:00
Andrew Arnott c6b1785933
Enhance VSTHRD003 to report any awaiting of tasks scheduled in another context
Fixes #255
Fixes #305
2018-07-03 11:38:25 -07:00
Andrew Arnott cf04007845
Change title of VSTHRD011 to "Use AsyncLazy<T>" 2018-07-02 08:18:12 -07:00
Andrew Arnott a32a34be0d
Beef up docs on threadpool investigation 2018-06-29 22:02:01 -07:00
Andrew Arnott 6d39c3c26b
Add VSTHRD110: Observe result of async calls
Closes #233
2018-06-05 07:04:17 -07:00
Andrew Arnott 433e69e58a
Add VSTHRD004 "Await SwitchToMainThreadAsync" analyzer
Fixes #209
2018-06-04 21:53:50 -07:00
Andrew Arnott 80e96d1f37
Document .ConfigureAwait(false) guidance (#285) 2018-05-31 07:12:56 -07:00
Andrew Arnott 91fd6643b9
Document that FileAndForget is for Microsoft's own use 2018-05-24 08:52:12 -07:00
Andrew Arnott 24298a1925
Add extra check to sample code 2018-05-24 06:56:21 -07:00
Andrew Arnott 1d4e7bd1b9
Small fixups per Sam's CR comments 2018-05-23 10:22:03 -07:00
Andrew Arnott b2e5709c2d
Add docs about thread safety and thread affinity 2018-05-23 09:42:54 -07:00
Andrew Arnott 895c1321a8
Add VSTHRD109 analyzer to find asserts in async methods 2018-05-05 18:07:03 -07:00
Andrew Arnott b7aba65f92
Support for member-level specifications regarding main thread affinity
This allows us to remove the last hard-coded VS API checks from VSTHRD010.

Fixes #230
2018-04-25 10:00:46 -07:00
geeeyetee 323eb26d11
Add missing "not" to 2 key explanatory comments 2018-04-16 20:58:34 -04:00
Andrew Arnott 04a0d41d0f
Add source and docs for !dumpasync extension 2018-04-12 12:19:33 -07:00
Andrew Arnott a9f314d3d9
Update VSTHRD010 documentation 2018-02-26 23:07:14 -08:00
Andrew Arnott 1e187c0a93
Rename AdditionalFiles to use `vs-threading` prefix
This because some files are used by multiple analyzers.
2018-02-19 09:25:22 -08:00
Andrew Arnott d918a7840d
Document additional files configuration 2018-02-19 09:23:29 -08:00
Andrew Arnott 03f83a48a4
Update docs 2018-02-19 02:22:04 -08:00
Andrew Arnott 61da424428
Rename VSTHRD010 given its data-driven nature 2018-02-18 21:30:30 -08:00
Alex Postlethwaite 089282c2f7
Corrected article link. 2017-12-12 11:40:51 -08:00
Andrew Arnott 3dd805095b
Merge remote-tracking branch 'origin/v15.4' into v15.5 2017-11-06 10:30:22 -08:00
Andrew Arnott a939c36ef4
Add guidance to use threading analyzers 2017-11-06 10:15:31 -08:00
Andrew Arnott b83a1b4b8a Merge pull request #188 from Microsoft/dev/andarno/fix56
Rename VSTHRD013 to VSTHRD108 and document analyzer
2017-09-12 18:10:19 -07:00
Andrew Arnott 33ef9950fa
Rename VSTHRD013 to VSTHRD108 and document analyzer
The VSTHRD0xx range is for critical analyzers. This is merely an advisory and therefore should be in the VSTHRD1xx range.
2017-09-12 16:30:07 -07:00
Andrew Arnott 928589e20b Add more info on AsyncPackage shutdown 2017-08-01 11:28:52 -07:00
Andrew Arnott e84328719b Doc touch-ups 2017-07-26 09:58:06 -07:00
Andrew Arnott 53ceea3786 Update docs 2017-07-26 09:30:59 -07:00
Andrew Arnott 0243a33096 Add missing period 2017-06-04 13:00:08 -07:00
Andrew Arnott e6ddb1a8e9 Fix a couple of broken links in the docs
Fixes #97
2017-06-04 12:58:14 -07:00
Andrew Arnott 33c351a61f Change title of VSTHRD107 2017-06-04 08:17:30 -07:00
Andrew Arnott 339d5fcbca Add VSTHRD107 UsingTaskOfTInsteadOfResultTAnalyzer
Closes #102
2017-06-03 20:08:59 -07:00
Andrew Arnott 837e0439f4 Add info about threadpool starvation mitigations 2017-05-15 12:22:29 -07:00
Andrew Arnott 5889dd786f Update doc index 2017-04-21 13:31:07 -07:00
Andrew Arnott 8892894373 Add link to threadpool starvation doc 2017-04-21 13:27:49 -07:00
Andrew Arnott daa10fc01b Add doc about threadpool starvation 2017-04-21 13:21:32 -07:00
Andrew Arnott e16c477f34 Update VS cookbook with latest VS SDK APIs 2017-04-14 12:33:31 -07:00
Andrew Arnott 8b32bc6994 Rename analyzers to match current descriptions 2017-01-28 13:44:53 -08:00
Andrew Arnott be772dddef Sort analyzers in docs 2017-01-28 13:36:35 -08:00
Andrew Arnott bd5aa13400 Update analyzer descriptions 2017-01-28 13:36:35 -08:00
Andrew Arnott 9e08bc813e Rename analyzer IDs from VSSDK* to VSTHRD*
Also renumber them and document its significance.
2017-01-28 13:36:34 -08:00
Andrew Arnott 321709d271 Add VSSDK014 "Avoid legacy thread switching" analyzer 2017-01-18 08:04:38 -08:00
Andrew Arnott 32f6022055 Add VSSDK013 "Offer async option" analyzer
Closes #37
2017-01-18 08:04:37 -08:00
Andrew Arnott 3cf2a21928 Add VSSDK012 "Specify JTF where allowed" rule 2017-01-16 21:31:44 -08:00
Andrew Arnott 9fdf82c8d3 Document the VSSDK011 analyzer 2017-01-10 20:28:50 -08:00
Andrew Arnott 60f795e375 Reduce length of diagnostic message for VSSDK003 and 004
Fixes #31
2016-12-15 12:40:05 -08:00
Andrew Arnott e3ba96421b Add doc with link to blog for more info 2016-12-09 22:05:57 -08:00
Andrew Arnott a2982a39ba Add more docs 2016-12-04 13:24:10 -08:00
Andrew Arnott 3d4a0c35c7 Link to new analyzer docs in the overview 2016-12-03 23:40:02 -08:00
Andrew Arnott 4874cc31f4 Finish writing analyzer docs 2016-12-03 23:35:09 -08:00
Andrew Arnott c797bb0f65 Docs for VSSDK001-005 2016-12-03 15:38:23 -08:00
Andrew Arnott 145511bb77 Start documenting the analyzers 2016-12-03 14:32:18 -08:00
Andrew Arnott 7876e20a2a Replace http:// with https:// 2016-11-10 18:41:53 -08:00
Andrew Arnott 001c9c5810 Apply doc updates per CR feedback 2016-10-17 22:31:09 -07:00
Andrew Arnott 6287f8c0a0 Add two missing sections that were on the internal site 2016-10-15 10:22:41 -07:00
Andrew Arnott 8ac8c14b7f Use DisposalToken in fire and forget sample 2016-10-15 10:11:55 -07:00
Andrew Arnott 0c1da526d5 Fill in doc for void fire-and-forget methods 2016-10-15 10:10:41 -07:00
Andrew Arnott 09ec3dd520 Simplify VS threading cookbook and expand on fire and forget methods 2016-10-15 09:51:52 -07:00
Andrew Arnott 4ae1efed1d Change doc title 2016-10-03 22:53:31 -07:00
Andrew Arnott bba8941af3 Use bullets in docs 2016-10-03 22:52:33 -07:00
Andrew Arnott 31b12be56e Add doc folder with cookbook and threading rules 2016-10-03 22:50:13 -07:00