slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

is this safe ?


Hi,

I am wondering,
My situation:
the S-lang-script :

define timer()
{
   %do something here
}

define main()
{
   while(1)
   {
       %do something here
  }
}

I am allways calling the main-function in my C-program.
The timer-function is also called by my C-program, and is actually hooked to
a timer.
So the function is called, while main() is never finished.
My question : is this a safe way ?
It works fine for now, but for how long....
Thanks in advance,

            Richard van Zon.



[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]