Re: [Tracker] [Re: tracker in F16]
- From: Aleksander Morgado <aleksander lanedo com>
- To: Martyn Russell <martyn lanedo com>
- Cc: tracker-list gnome org, Lennart Poettering <mztabzr 0pointer de>
- Subject: Re: [Tracker] [Re: tracker in F16]
- Date: Tue, 20 Sep 2011 11:08:30 +0200
I beg your pardon, I just double checked this and there is also a
tracker_file_is_locked() API which only the miner-fs uses in one
instance. That is used when checking each file in our queue handler
function:
if (file && queue != QUEUE_DELETED &&
tracker_file_is_locked (file)) {
I agree, this could potentially be a place to improve. Carlos,
Aleksander, can you guys comment on why we still have this in place?
IIRC, those were just to sync with tracker-writeback, which is (was?)
the only one usign flock()s. Possibly dead code that can be removed.
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]