SynchronizeStart

Restarts the NLM startup process when using synchronization mode.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  void SynchronizeStart ( void ); 
  

Remarks

This function is used in synchronization mode to restart the startup process, which is put to sleep to make sure that another NLM is not loaded before the current NLM application’s mainline is reached. Synchronization mode is selected at link time by using the SYNCHRONIZE keyword in the link directive file.

NOTE:If an NLM is using synchronization mode, it should include a call to SynchronizeStart as early in the code as possible. Synchronize mode causes the console command process to go to sleep until SynchronizeStart is called.

If you specify the SYNCHRONIZE keyword, the loader does not proceed until your NLM calls SynchronizeStart. Without SYNCHRONIZE, the previously loaded NLM might not have executed any of its code before the loader executes the next command in the AUTOEXEC.NCF file. Use this technique if you have an NLM that must establish some conditions to be used by some subsequent command or NLM in your AUTOEXEC.NCF file. It prevents the loader from proceeding until after you have called SynchronizeStart.