[Python-Dev] GIL, Python 3, and MP vs. UP

Antoine Pitrou solipsis at pitrou.net
Wed Sep 21 18:31:59 CEST 2005


> The best way to make people stop complaining about the GIL and start  
> using
> process-based multiprogramming is to provide solid, standardized support
> for process-based multiprogramming.

100% agreed. I needed a portable way to know if a program was already
running (and then to send it a simple command), the only simple solution
I found was to listen on a local TCP socket and store the port number in
a file in a known location. Not very elegant IMO.

Regards

Antoine.




More information about the Python-Dev mailing list