gtpc2m81 | C/C++ Language Support User's Guide |
This function:
Format
#include <sysapi.h> tpf_dlckc(*lock_pointer, lock_function)
Normal Return
None.
Error Return
None.
Programming Considerations
This function can be used only by ECB-controlled programs.
Examples
The following example shows a resource being locked with the I/O interrupts disabled and then unlocked with the I/O interrupts enabled.
#include <sysapi.h> struct mflsec* mfsl_ptr = NULL; mfsl_ptr = cinfc(CINFC_WRITE,CINFC_CMMFS1); tpf_dlckc( mfsl_ptr->mfliolkp, DLCKC_LOCK );
·
·
·
tpf_dlckc( mfsl_ptr->mfliolkp, DLCKC_UNLOCK );
Related Information