Hi,is there a special reason why AddOnMonitorHandler *) needs a B_PULSE message runner to trigger the add-on handling of the pending entries? Why not just post a B_PULSE into the message queue from within the handler when a new entry is created?
Is it really necessary to have a pending entry list? and thus a B_PULSE message? Why not handle the entries in the same cycle? Ok it makes it a little bit more multi threaded when scanning the directory the first time but I see no advantage in this case.
Regards, Clemens *) http://haiku.it.su.se:8180/source/xref/src/kits/storage/AddOnMonitorHandler.cpp