I have a main program and a subprogram which need to be run in separate threads.
I am using cob2 compiler(visualage) to do this.
cob2 -qthread main.cbl
cob2 -qthread sub.cbl
After compilation when I run the main.exe,its not creating 2 threads bit only one.Both programs are in recursive mode.
I am using function pointer to call the subprogram and linking it dynamically.
Any idea as to why I am not seeing 2 threads but one?