1
0
Fork 0
arangodb/lib
Jan 9c76613e63
fix premature unlock (#3802)
* fix some deadlocks found by evil lock manager (tm)

* fix duplicate lock

* fix indentation

* ensure proper lock dependencies

* fix lock acquisition

* removed useless comment

* do not lock twice

* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not

* AQL micro optimizations

* use explicit constructor

* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context

entering and exiting the selected context is then done later on without having to hold the ConditionLocker

* remove some recursive locks

* Disable custom deadlock detection when Thread Sanitizer is enabled

* Changing ifdef's

* grr

* broke gcc

* Using atomic for ApplicationServer::_server

* fix premature unlock

* add some asserts

* honor collection locking in cluster

* yet one more lock fix

* removed assertion

* some more bugfixes

* Fixing assert

(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
2017-12-13 13:27:42 +01:00
..
ApplicationFeatures fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Basics fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Endpoint Bug fix/fixes 1511 (#3711) 2017-11-16 14:18:51 +01:00
Logger allow specification of log topics with whitespace in the argument (#3980) 2017-12-11 10:33:38 +01:00
Meta fist changes to get request agents working 2016-08-25 13:28:19 +02:00
ProgramOptions terminal codes 2017-09-28 22:23:54 +02:00
Random cleanup a few cases of fatal errors (#3274) 2017-09-19 21:58:21 +02:00
Rest remove now obsolete remainders of memory management functions (#3820) 2017-12-06 18:43:34 +01:00
SimpleHttpClient make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
Ssl Bug fix/fixes 1610 (#3425) 2017-10-18 12:23:39 +02:00
Utilities Bug fix/fixes 0609 (#3227) 2017-09-13 16:28:21 +02:00
V8 remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
Zip fix spurious unzip errors (#2867) 2017-07-25 22:17:37 +02:00
CMakeLists.txt remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00