[haiku-development] AddOnMonitorHandler

  • From: "Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 27 Aug 2010 15:46:27 +1200


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.



Other related posts: