skip to main content

Library Routines : C$ASYNCRUN

C$ASYNCRUN
The C$ASYNCRUN library routine creates a thread, passing up to 14 parameters to it.
The thread is a cobol program that can reside on the local host or on a remote machine (see iscobol.remote.code_prefix).
Syntax:
 CALL "C$ASYNCRUN" USING threadHandle
Parameters:
Contains the handle of the thread that has been created. You can use this handle with the C$ASYNCPOLL routine to test whether the thread still exists or if it's terminated.
Examples:
Example - Call ProgramB on a separate thread
working-storage section.
77 threadHandle usage handle.
procedure division.
   call "c$asyncrun" using threadHandle

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left