summaryrefslogtreecommitdiffstats
path: root/Demo/pysvr/pysvr.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -v flag. Comment duplicate Py_Finalize().Guido van Rossum1999-10-051-2/+8
|
* Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing andGuido van Rossum1997-12-251-1/+5
| | | | restarting the server.
* Use a counter instead of a Boolean to check for initialized; n callsGuido van Rossum1997-08-201-0/+2
| | | | to Py_Initialize will be undone by n calls to Py_Uninitialize.
* Print ps (process status) for us when starting a new thread.Guido van Rossum1997-08-021-9/+40
| | | | | | | | | | Even less shuffling of stdout (only at start of new interpreter). Interact properly with new interpreter initialization conventions (must use Py_Initialize/Py_Finalize *and* Py_NewInterpreter/Py_EndInterpreter). Probably more minor changes.
* Use Py_NewInterpreter() and friends. Remove saving/restoring of std files.Guido van Rossum1997-07-251-22/+16
|
* Added leading comment and security check.Guido van Rossum1997-07-191-5/+28
|
* New example of threaded embeddingGuido van Rossum1997-07-191-0/+312