Forum > Linux

Directory-age?!?

<< < (2/2)

MarkMLl:
Yes, sounds about right.

MarkMLl

cdbc:
Hi
Thanks Mate  :)
Regards Benny

MarkMLl:
I find I've used that stuff in a couple more places, but not- interestingly- in the program I was tweaking a few weeks ago which reads the content of a DSO (digital 'scope) and can reload the backend dynamic library if it's recompiled.

Updated: I've grafted it into the DSO program so that it re-reads the directory containing the backends (each of which has the ISO date and time in its name) only when something's actually changed. The API doesn't, unfortunately, allow wildcards, but the more difficult part of the exercise was working out the structure of my original code (a reload can be triggered by a number of things, including HUP etc.).

MarkMLl

Navigation

[0] Message Index

[*] Previous page

Go to full version