Needed: dynamic loading of code at runtime
Ed_Batutis at oa.mceo.dg.com
Ed_Batutis at oa.mceo.dg.com
Sat Mar 11 07:34:53 AEST 1989
CEO summary:
I am looking for a way to call functions that are "bound at runtime"
under UNIX. This is similar to what an overlay loader would do under
some operating systems. The interface would be something like the
following: ExecDynamicFunction(MyFunction,param1,param2,...).
The routine would find MyFunction in a file, copy it into memory
and call it with param1, param2,.... MyFunction is a string
containing the actual name of the routine, which could be changed at
runtime. Desirable features include: MyFunction is implemented in
shared memory so that there could be a shared data-space as well as a
non-shared data space for all clients of the routine on a system.
Functions could be grouped into Dynamic Libraries. A good name for
this facility would be Dynamic Link Libraries. This is what OS/2
calls them. I'm familiar with CMU's Andrew System. They have a
pretty good implementation of this. Any other candidates?
More information about the Comp.unix.questions
mailing list