12.3.30 SP_get_dispatch()

Synopsis

     #include <sicstus/sicstus.h>
     
     SICSTUS_API_STRUCT_TYPE *
     SP_get_dispatch(void *reserved);

Arguments

reserved
Reserved, should be NULL.

Return Value

Returns the dispatch vector of the SICStus runtime.

Description

This function can be called from any thread.

This function is special in that it is not accessed through the dispatch vector; instead, it is exported in the ordinary manner from the SICStus runtime dynamic library (sprt4-2-1.dll under Windows and, typically, libsprt4-2-1.so under UNIX).

The address of this function is typically obtained by linking to the SICStus runtime library or, when using multiple SICStus runtimes, by a call to SP_load_sicstus_run_time().

See Also

Multiple SICStus Runtimes.


Send feedback on this subject.