in reply to How to share a group of functions with multiple main processes?

Thank you all for your kind answers. I think that is a module that I want.

For example, I have to determine if a certain point (x,y) is inside a certain polygon. For that I have several functions. Then I have 3 different processes that run simultaneously. But each of them have at a certain time in the code to determine if a point is inside or out of an area.

I just need to give as an input to those functions the point and the area. So I guess module is what I want.

Just a question if I call in each process use moduleX.

That means that I'm going to use 3 times the memory needed to load moduleX?

  • Comment on Re: How to share a group of functions with multiple main processes?
  • Download Code