dr_mohan
-
2018-01-03
- 3.7.0: 3.7.0 --> Future
Hi,
When you repeat saHpiSessionOpen and saHpiSessionClose in the same object file
1021th saHpiSessionOpen fails.
void func()
{
....
saHpiSessionOpen();
....
saHpiSessionClose();
....
return;
}
void main() // main.o
{
while(1){
func();
}
}
But this doesn't happen when you repeat calling saHpiSessionOpen and saHpiSessionClose
object file from shell script.
void main() // main.o
{
func();
}
while true
do
./main.o
done