Announcement

Collapse
No announcement yet.

Thread Question

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

  • Lee Bergeron
    replied
    Thanx PAul - that is what I thought

    Leave a comment:


  • Paul Dixon
    replied
    Lee,
    each time the function is called a new set of local variables will be created on the stack so there will be no interference between threads calling the same function.
    If the function uses STATIC or GLOBAL variables then you might run into problems.

    Paul.

    Leave a comment:


  • Lee Bergeron
    started a topic Thread Question

    Thread Question

    If I have a FUNCTION that uses only Local Variables, can multiple threads access this Function simultaneously without any problems? In other words, does each Function Call use its own Local Variables?
Working...
X