[Bug 596] New: patch: how to reload dynamic libraries in DeploymentComponent

For more infomation about this bug, visit
Summary: patch: how to reload dynamic libraries in
DeploymentComponent
Product: OCL
Version: 1.6.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: davide [dot] faconti [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created an attachment (id=353)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=353)
make possible to reload dynamic libraries without stopping the
DeploymentComponent

Motivation. imagine that you have a producer and a consumer launched by a
DeploymentComponent.
You have detected an error in the component and you want to overwrite a new
version of the file. You will overwrite component.so (of course you need to
"kickOut" the consumer first) and you want the update to take effect when you
start everything again.
The attached patch make possible to detect if a loaded library can be unloaded
and loaded again. We have to check if thereisn't any instance of any Component
loaded from the dynamic library that we are trying to reload.

[Bug 596] patch: how to reload dynamic libraries in DeploymentCo

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=596

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|ASSIGNED |RESOLVED

--- Comment #2 from Peter Soetens <peter [..] ...> 2009-06-21 21:58:32 ---
This was fixed in OCL 1.8.0

[Bug 596] patch: how to reload dynamic libraries in DeploymentCo

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [dot] soetens [..] ...
Target Milestone|--- |1.6.1

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-11-14 12:46:23 ---
(In reply to comment #0)
> Created an attachment (id=353)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=353) [details]
> make possible to reload dynamic libraries without stopping the
> DeploymentComponent

Same remark as in bug #595: the patch is inverted.

Otherwise, It looks fine to me for inclusion.

Thanks,
Peter