MarcoFalke 3315007e03
Merge #13077: Add compile time checking for all cs_KeyStore runtime locking assertions
66dc662c8a Add compile time checking for all cs_KeyStore runtime locking assertions (practicalswift)

Pull request description:

  Add compile time checking for all `cs_KeyStore` runtime locking assertions.

  This PR is a subset of #12665. The PR was broken up to make reviewing easier.

  The intention is that literally all `EXCLUSIVE_LOCKS_REQUIRED`/`LOCKS_EXCLUDED`:s added in this PR should follow either directly or indirectly from `AssertLockHeld(…)`/`AssertLockNotHeld(…)`:s already existing in the repo.

  Consider the case where function `A(…)` contains `AssertLockHeld(cs_foo)` (without
  first locking `cs_foo` in `A`), and that `B(…)` calls `A(…)` (without first locking `cs_main`):
  * It _directly_ follows that: `A(…)` should have an `EXCLUSIVE_LOCKS_REQUIRED(cs_foo)` annotation.
  * It _indirectly_ follows that: `B(…)` should have an `EXCLUSIVE_LOCKS_REQUIRED(cs_foo)` annotation.

Tree-SHA512: 84ee5459e7f75f9affaa4275cb760576ab0e26da8a48b9a4a59b51a25418fe4b862ba832cb01312479a8c9b0e38ee8b6c4076bcbbd73213346d09ec2057fc9f1
2018-04-27 21:47:29 -04:00
..
2018-02-16 08:59:28 -05:00
2017-09-29 16:02:39 +02:00
2018-04-09 09:18:49 +02:00
2018-02-10 09:55:54 -05:00
2018-03-06 21:52:53 +01:00
2018-03-21 11:57:57 +08:00
2018-04-16 13:24:14 -07:00
2018-02-11 10:48:15 +01:00
2018-03-06 19:52:19 +00:00
2018-03-06 19:52:19 +00:00
2018-03-13 17:04:31 -07:00
2018-04-16 13:24:14 -07:00
2018-03-13 17:04:31 -07:00
2018-04-26 15:33:11 +02:00
2018-01-23 13:16:56 -05:00
2018-04-26 15:33:11 +02:00
2018-04-09 09:18:49 +02:00
2018-03-14 23:10:39 -07:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-09 09:18:49 +02:00
2018-03-21 08:34:44 +02:00
2018-03-06 20:28:08 -08:00