hello,
i've got two c code files.
the first is the controller that uses a thread pool of pthreads. each thread then calls a function in the second c code file that does the work.
during testing i'm just spawning two instances of the second c code file.
the question! - will it cause problems if i don't use #define statements for variables? i think that there is some kind of cross calling of variables between the two spawned instances.
thanks for any help,
rotis23
i've got two c code files.
the first is the controller that uses a thread pool of pthreads. each thread then calls a function in the second c code file that does the work.
during testing i'm just spawning two instances of the second c code file.
the question! - will it cause problems if i don't use #define statements for variables? i think that there is some kind of cross calling of variables between the two spawned instances.
thanks for any help,
rotis23