摘要 |
<p>In the disclosed data processing system, a client (300): acquires a user-function symbol name; obtains a pointer to a wrapper function, which is defined as a template function and internally executes the user function, by specifying the types of the arguments and return value of the user function as template arguments; and uses the pointer to the wrapper function to acquire the wrapper-function symbol name for said wrapper function. A server (310) acquires the following from the client: the user-function symbol name; data corresponding to the arguments of the user function; the wrapper-function symbol name; and a shared library compiled from a user program and the wrapper function. The server then executes the wrapper function in said shared library, identified by the abovementioned pointer, using, as arguments, the user-function symbol name and the data corresponding to the arguments of the user function.</p> |