Threaded server in python!?

Gerhard Häring gerhard.haering at gmx.de
Fri Jan 3 16:29:24 EST 2003


* Achim Domma <achim.domma at syynx.de> [2003-01-03 22:10 +0100]:
> Hi,
> 
> I would like to implement my own http chat server. As far as I know pythons
> threads are not very efficient due to the global interpreter lock.
> [...]

The GIL just means that Python won't take much advantage of more than
one processors (i. e. SMP machines). C extensions can release the GIL
for certain safe operations, though (ones that don't touch any Python
data structures).

Gerhard
-- 
Favourite database:             http://www.postgresql.org/
Favourite programming language: http://www.python.org/
Combine the two:                http://pypgsql.sf.net/
Embedded database for Python:   http://pysqlite.sf.net/





More information about the Python-list mailing list