Announcement

Collapse
No announcement yet.

pause DLL function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pause DLL function

    Hi,

    if I have a DLL function that simply pauses (with the parameter that specifies the number of milliseconds), and at the end of the current bar, I call the DLLpause function, what would happen if the DLLpause function finds itself in an infinite loop situation (or it pauses for a time that is much longer than the bar interval)?

    I have put debugPrintln statements both before and after the DLLpause, and I only see the first Println statement but not the second one. During the time when it's still inside the DLLpause, a new bar would come along and the same would happen.

    Does it mean that eSignal will continue to wait until it runs out of memory after many bars sitting there and wait for DLLpause function to return or something like that?

    Am I right to think that each bar is a new thread ?

    Much appreciated for any insights on this.

    William
Working...
X