rohan_rege
20th October 2002, 01:16
I am facing a weird problem ...
The following code in AFS is causing me some problems
f1110s000.handle.sub.process( "tfacp1130s000" , "add" )
f1110s000.continue( error.mess )
|to handle subsession tfacp1131s000 from tfacp1130s000
f1130s000.handle.sub.process( "tfacp1131s000" , "add" )
f1130s000.continue( error.mess )
whenever i run my program for some reason the program script for tfacp1130 (which is in debug mode) gets instantiated twice..
thus hanging the program
when i check the start shell...using ps.....i see the two process instances of the same process..ie tfacp1130s000
I dont understand why its forking two processes for tfacp1130 and thus hanging my program
i even tried putting ret=shell("sleep 3" ,SHELL_NO_OUTPUT)
before the statements
f1130s000.handle.sub.process( "tfacp1131s000" , "add" )
f1130s000.continue( error.mess )
but it wudnt work...
when i run in debug mode...stepping thru the above statemnts..it works fine ...but runnning in compile mode ..it hangs as two tfacp1130 are forked one after the another
Rgds
Rohan
The following code in AFS is causing me some problems
f1110s000.handle.sub.process( "tfacp1130s000" , "add" )
f1110s000.continue( error.mess )
|to handle subsession tfacp1131s000 from tfacp1130s000
f1130s000.handle.sub.process( "tfacp1131s000" , "add" )
f1130s000.continue( error.mess )
whenever i run my program for some reason the program script for tfacp1130 (which is in debug mode) gets instantiated twice..
thus hanging the program
when i check the start shell...using ps.....i see the two process instances of the same process..ie tfacp1130s000
I dont understand why its forking two processes for tfacp1130 and thus hanging my program
i even tried putting ret=shell("sleep 3" ,SHELL_NO_OUTPUT)
before the statements
f1130s000.handle.sub.process( "tfacp1131s000" , "add" )
f1130s000.continue( error.mess )
but it wudnt work...
when i run in debug mode...stepping thru the above statemnts..it works fine ...but runnning in compile mode ..it hangs as two tfacp1130 are forked one after the another
Rgds
Rohan