24 Commits

Author SHA1 Message Date
Jean-Francois Dockes
ae2b4577c3 Add config option to redirect external helpers error output to a file 2021-03-03 17:54:44 +01:00
Jean-Francois Dockes
6567d7d912 shared 2021-01-17 10:51:16 +01:00
Jean-Francois Dockes
44c4cc1826 workqueue: less verbose 2020-11-17 13:14:35 +01:00
Jean-Francois Dockes
1de00ebae7 shared code 2018-12-13 15:29:22 +01:00
Jean-Francois Dockes
bcf5b00897 comments and traces 2016-12-02 10:57:48 +01:00
Jean-Francois Dockes
1fdc4693f4 make use of st::future conditional, we do not really need it 2016-11-08 12:40:44 +01:00
Jean-Francois Dockes
c1fad4afc7 Replaced pthread with std:: thread and mutex 2016-07-12 18:08:21 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
82922bda8d removed a number of gratuitous linuxisms 2015-08-18 12:44:53 +02:00
Jean-Francois Dockes
fc21e61f51 missing std qualifier on queue 2015-07-02 15:20:23 +02:00
Jean-Francois Dockes
fd62105a9d replaced unused map with list 2015-06-26 13:37:06 +02:00
Jean-Francois Dockes
e12d66865e Deal with tr1 being gone in c0x11 compilers 2013-10-18 13:02:48 +02:00
Jean-Francois Dockes
5a06f53d74 clang 2013-09-26 17:36:39 +02:00
Jean-Francois Dockes
a0e273ddd4 Drain the job pipeline in fsindexer::purgefiles like was done in fsindexer::indexfiles as there is no warranty that the latter will be called before a db::close for each iteration of the monitor loop 2012-12-15 09:21:50 +01:00
Jean-Francois Dockes
8bd3e35ac8 comments 2012-12-04 10:17:57 +01:00
Jean-Francois Dockes
4c950fd6f8 better stats in workqueue 2012-12-03 19:11:59 +01:00
Jean-Francois Dockes
3a33a68e2d Use PTMutexLocker in workqueue, and make it restartable 2012-11-30 07:35:03 +01:00
Jean-Francois Dockes
9146929f5e implemented configuration for thread structure. Still crashes, but not often... 2012-11-29 17:26:48 +01:00
Jean-Francois Dockes
f252050247 ensure that indexing threads operations are transparent to high level callers such as the real time monitor 2012-11-26 15:40:31 +01:00
Jean-Francois Dockes
9ba04fc9c7 timing and traces 2012-11-26 09:16:06 +01:00
Jean-Francois Dockes
d961b82abc fix gcc warning 2012-11-23 13:50:11 +01:00
Jean-Francois Dockes
cd53c0a536 Multithreaded indexing seems not to crash anymore thanks to locked existence map 2012-11-02 21:43:51 +01:00
Jean-Francois Dockes
ee7d0f2ee7 1st parallel multithreaded version of indexing which can do my home without crashing... Let's checkpoint 2012-11-01 11:19:48 +01:00
Jean-Francois Dockes
9bc2fc8958 Experimented with multithreading the indexing pipeline. Left undef'd as 15%-30% improvement of indexing time does not seem worth the complexity 2012-02-21 17:09:02 +01:00