I'm developing a project that involves the interaction between three threads. The code of the the thread functions is very long, and put everything in a file does not seem a good idea, because it becomes unmanageable.
Compile separately the threads functions and then link everything is a solution that makes sense?
Obviously there are a lot of data structures shared between threads.
What is the proper way to separate the project into more files?
Aucun commentaire:
Enregistrer un commentaire