Russell Yanofsky
190bf62be1
scripted-diff: Small locking rename
...
Call sync.h primitives "locks" and "mutexes" instead of "blocks" and "waitable
critical sections" to match current coding conventions and c++11 standard
names.
This PR does not rename the "CCriticalSection" class (though this could be done
as a followup) because it is used everywhere and would swamp the other changes
in this PR. Plain mutexes should mostly be preferred instead of recursive
mutexes in new code anyway.
-BEGIN VERIFY SCRIPT-
set -x
set -e
ren() { git grep -l $1 | xargs sed -i s/$1/$2/; }
ren CCriticalBlock UniqueLock
ren CWaitableCriticalSection Mutex
ren CConditionVariable std::condition_variable
ren cs_GenesisWait g_genesis_wait_mutex
ren condvar_GenesisWait g_genesis_wait_cv
perl -0777 -pi -e 's/.*typedef.*condition_variable.*\n\n?//g' src/sync.h
-END VERIFY SCRIPT-
2018-08-31 10:00:38 -04:00
..
2018-08-29 16:30:58 +02:00
2018-08-16 20:33:50 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-06-25 00:08:49 -04:00
2018-08-30 16:18:36 +02:00
2018-08-09 11:31:45 -04:00
2018-08-30 12:00:28 +02:00
2018-07-27 07:15:02 -04:00
2018-08-30 16:18:36 +02:00
2018-08-31 10:00:38 -04:00
2018-08-28 16:25:04 +02:00
2018-07-27 07:15:02 -04:00
2018-08-31 10:00:38 -04:00
2018-08-31 09:03:05 -04:00
2018-07-27 07:15:02 -04:00
2018-04-13 15:37:20 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-04-12 17:52:33 -07:00
2018-08-24 08:34:38 -04:00
2018-08-24 08:34:38 -04:00
2018-08-24 08:34:38 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-28 12:12:32 -07:00
2018-08-25 10:02:37 -07:00
2018-08-25 17:41:00 +02:00
2018-08-13 01:24:55 +02:00
2018-07-27 07:15:02 -04:00
2018-08-14 18:03:43 -05:00
2018-08-08 13:55:27 +02:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-23 10:38:59 -07:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 14:27:40 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 14:27:40 -04:00
2018-08-25 17:41:00 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-29 16:05:51 +02:00
2018-08-29 16:05:51 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 10:02:50 -04:00
2018-08-11 09:34:47 +03:00
2018-08-31 10:00:38 -04:00
2018-08-20 01:35:55 +01:00
2018-08-31 10:00:38 -04:00
2018-06-25 00:08:49 -04:00
2018-08-27 13:33:04 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 12:07:20 +02:00
2018-08-13 12:07:20 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-29 16:05:00 +02:00
2018-05-02 11:25:20 +02:00
2018-08-25 10:02:37 -07:00
2018-08-25 10:02:37 -07:00
2018-07-24 20:46:23 +01:00
2018-06-06 17:36:53 -04:00
2018-08-31 16:00:38 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-08-30 16:36:26 +02:00
2018-08-26 00:25:28 +02:00
2018-08-31 16:00:38 +02:00
2018-08-31 10:00:38 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-08-28 18:42:53 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-24 08:34:38 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-27 09:50:13 -07:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-31 10:00:38 -04:00
2018-07-27 07:15:02 -04:00
2018-08-11 09:34:47 +03:00
2018-07-24 20:46:23 +01:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-06-25 00:08:49 -04:00
2018-06-25 00:08:49 -04:00
2018-07-27 11:52:18 -07:00
2018-08-25 10:02:37 -07:00
2018-08-31 16:00:38 +02:00
2018-08-31 10:00:38 -04:00
2018-08-31 16:00:38 +02:00
2018-08-31 10:00:38 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 13:19:03 +02:00
2018-08-08 13:55:27 +02:00
2018-08-29 16:30:58 +02:00
2018-08-29 16:30:58 +02:00
2018-08-13 15:02:38 -04:00
2018-08-14 09:19:47 +00:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-25 10:02:37 -07:00
2018-08-30 10:02:49 +02:00
2018-08-29 22:33:33 +02:00
2018-07-17 13:56:21 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-28 18:42:27 +02:00
2018-08-28 18:42:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-31 10:00:38 -04:00
2018-08-31 10:00:38 -04:00
2018-08-26 00:25:28 +02:00
2018-08-26 00:25:28 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00