n***@sourceforge.net
2002-10-26 01:37:05 UTC
Bugs item #225388, was opened at 2000-12-11 16:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=225388&group_id=1814
Category: None
Group: None
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Pierre Phaneuf (pphaneuf)
Summary: Dynamic loader service handler
Initial Comment:
This is a service handler that would look in a directory to load the appropriate loadable module when a component is requested from it.
Should there be a handler per component directory? Or should a single handler be able to look in multiple directories? Order might be important here, maybe there should be a way to control the order in which directories are looked at (the service manager doesn't define any order to call its handler, so we cannot count on this).
There should be a persistent index (see bug #125387) for each directories, that would keep the mtimes of the shared objects and the components they contain, so that they do not need to be all loaded at every run to know what component they contain.
The stored mtime should be compared against the actual one, and the stored information should be dropped and rediscovered upon if they are different.
An initial implementation wouldn't need the persistent index, it could discover everything a-new at every run, but this wouldn't be acceptable for any sizable application.
----------------------------------------------------------------------
Message:
Logged In: YES
user_id=5633
It's now mostly done. There's one handler per directory, and
we have no persistent cache. Some times in the future, but
I've got to set some priorities now.
----------------------------------------------------------------------
Comment By: Pierre Phaneuf (pphaneuf)
Date: 2002-05-03 17:23
Message:
Logged In: YES
user_id=5633
I'm back on it!
----------------------------------------------------------------------
Comment By: Pierre Phaneuf (pphaneuf)
Date: 2001-02-27 17:50
Message:
Logged In: YES
user_id=5633
I don't have enough time at the moment to work on this,
marking as unassigned to indicate that the task is up for
grabs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=225388&group_id=1814
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=225388&group_id=1814
Category: None
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5Resolution: Works For Me
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Pierre Phaneuf (pphaneuf)
Summary: Dynamic loader service handler
Initial Comment:
This is a service handler that would look in a directory to load the appropriate loadable module when a component is requested from it.
Should there be a handler per component directory? Or should a single handler be able to look in multiple directories? Order might be important here, maybe there should be a way to control the order in which directories are looked at (the service manager doesn't define any order to call its handler, so we cannot count on this).
There should be a persistent index (see bug #125387) for each directories, that would keep the mtimes of the shared objects and the components they contain, so that they do not need to be all loaded at every run to know what component they contain.
The stored mtime should be compared against the actual one, and the stored information should be dropped and rediscovered upon if they are different.
An initial implementation wouldn't need the persistent index, it could discover everything a-new at every run, but this wouldn't be acceptable for any sizable application.
----------------------------------------------------------------------
Comment By: Pierre Phaneuf (pphaneuf)
Date: 2002-10-25 22:20Message:
Logged In: YES
user_id=5633
It's now mostly done. There's one handler per directory, and
we have no persistent cache. Some times in the future, but
I've got to set some priorities now.
----------------------------------------------------------------------
Comment By: Pierre Phaneuf (pphaneuf)
Date: 2002-05-03 17:23
Message:
Logged In: YES
user_id=5633
I'm back on it!
----------------------------------------------------------------------
Comment By: Pierre Phaneuf (pphaneuf)
Date: 2001-02-27 17:50
Message:
Logged In: YES
user_id=5633
I don't have enough time at the moment to work on this,
marking as unassigned to indicate that the task is up for
grabs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=225388&group_id=1814