1
0
Fork 0
Commit Graph

96 Commits

Author SHA1 Message Date
Jan Steemann 342e44c374 removed tabs 2015-08-04 14:32:37 +02:00
Frank Celler dc82cf3a65 delete jobs after deleting all threads 2015-07-27 13:08:56 +02:00
Max Neunhoeffer c4e8e4aea6 Improve sleeping times for dispatcher threads. 2015-07-24 14:37:17 +00:00
Frank Celler 8052ccf4c4 small grace 2015-07-24 09:23:34 +00:00
Frank Celler e7324b09fd better dispatcher wait 2015-07-24 08:53:37 +00:00
Frank Celler 647ce78293 removed unused variable 2015-07-23 22:44:52 +02:00
Frank Celler 4d04f29575 added safe guard for too many threads 2015-07-23 18:09:30 +02:00
Frank Celler 23e1cd53fc fixed shutdown 2015-07-23 17:50:09 +02:00
Max Neunhoeffer 91673241b6 No lock for signal. Better startup of new threads. 2015-07-23 14:44:24 +00:00
Max Neunhoeffer d95d4edbca Fix bug with numeric queue ids. 2015-07-23 14:43:33 +00:00
Frank Celler 35a3c6421c moved dispatcher to atomic 2015-07-23 15:40:34 +02:00
Jan Steemann 123a76089f removed JobType, special jobs and monopolizer 2015-07-21 14:07:53 +02:00
Jan Steemann 4ff93e8bdc slight cleanup 2015-07-20 19:10:30 +02:00
Jan Steemann a5db59cc47 remove some locks in HttpServer and friends 2015-07-17 17:48:45 +02:00
Max Neunhoeffer e3623cf6a5 Improve diagnostic output when dispatcher is reporting. 2015-06-18 17:29:36 +02:00
Jan Steemann 5cac2938b1 exception handling 2015-06-16 09:37:02 +02:00
Max Neunhoeffer 33dec8806b added 3=scheduler, 4=dispatcher 2015-05-28 13:48:02 +00:00
Frank Celler c2db22e379 linux processor affinity 2015-05-28 14:51:32 +02:00
Frank Celler f5f8afea22 added empty affinity implementation 2015-05-28 13:51:34 +02:00
Jan Steemann 0254bb50f4 fixed variable usage 2015-05-06 09:46:17 +02:00
Jan Steemann f7ade5e7fe nullptr 2015-04-30 23:48:52 +02:00
Max Neunhoeffer 686f67024e Add a second DispatcherQueue for AQL in the cluster. 2015-04-29 21:02:06 -07:00
Frank Celler ffbc45d2e2 new HttpServer & HttpCommTask
Conflicts:
	Makefile.in
	arangod/Aql/RestAqlHandler.cpp
	arangod/Aql/grammar.cpp
	arangod/Cluster/RestShardHandler.cpp
	lib/GeneralServer/GeneralServer.h
	lib/GeneralServer/GeneralServerDispatcher.h
	lib/HttpServer/HttpServerJob.h
	lib/HttpServer/HttpsCommTask.h
	lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann 925f4fbab6 cleanup of some static const variables 2015-03-30 21:43:55 +02:00
Jan Steemann c352ba6a03 small logging refactoring 2015-03-26 03:09:07 +01:00
Frank Celler 7aa4591678 arangod/Aql/Expression.cpp 2015-01-29 15:21:14 +01:00
Frank Celler 9c9bd02454 remove superfluous threads after a grace period 2014-11-10 21:42:32 +01:00
Max Neunhoeffer 5f26789c95 Cleanup code after making dispatcher elastic. 2014-11-07 20:25:05 -05:00
Max Neunhoeffer 353b16805a Add thread local static variable for current DispatcherThread. 2014-11-07 20:12:58 -05:00
Frank Celler 9b2a054ae7 added blockThread and unblockThread 2014-11-08 00:21:59 +01:00
Jan Steemann 13d240384f less namespace pollution 2014-10-28 00:24:37 +01:00
Jan Steemann 506936dcdb rename orgy 2014-09-13 02:35:13 +02:00
Jan Steemann 669cb3b235 renamed files 2014-09-13 01:44:01 +02:00
Jan Steemann 3ea0c8ec28 remove pending dispatcher jobs on shutdown 2014-09-08 15:03:19 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Frank Celler 6936972d08 updated disclaimer 2014-06-20 16:41:35 +02:00
Jan Steemann 362838ae69 TRI_ASSERT 2014-06-06 11:25:19 +02:00
Jan Steemann ad1feb0ed4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-04 14:30:28 +02:00
Frank Celler eda4b0cde4 fixed dfdb 2014-06-04 11:02:42 +02:00
Jan Steemann 7b521a4c9e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/VocBase/document-collection.cpp
	arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Frank Celler c8ddff2a9b fixed shutdown for busy V8 contexts 2014-05-30 11:39:11 +02:00
Max Neunhoeffer e7560357d2 Further cleanup with #include "Basics/Common.h" 2014-05-21 16:59:54 +02:00
Jan Steemann 2bc4aa90af fixed issues found by scan-build 2014-05-15 10:09:06 +02:00
Jan Steemann 579a46220e added one-shot tasks 2014-05-14 21:04:37 +02:00
Jan Steemann 401c8f8192 do not pass 0 to ctor 2014-05-12 16:50:17 +02:00
Jan Steemann 82595ee169 improved periodic task management 2014-05-09 17:36:24 +02:00
Jan Steemann 2e17f4bcd7 cppcheck 2014-05-09 00:21:17 +02:00
Jan Steemann 8fa45ca181 added string task ids for periodic jobs 2014-05-08 22:59:36 +02:00
Frank Celler 8e9ad58f3b added cancelation of asnyc jobs
Conflicts:
	arangod/V8Server/ApplicationV8.cpp
	arangod/V8Server/v8-actions.cpp
	lib/Rest/Handler.h
2014-04-16 20:16:22 +02:00
Jan Steemann 2050049b06 added periodic job management
this adds functions internal.deletePeriod() and internal.getPeriodic()
functions internal.definePeriodic() now also has an extra parameter to
specify the name of a periodic job. this makes it more easy to tell
jobs apart in the result of internal.getPeriodic().
2014-04-13 22:19:46 +02:00