
Hi Holger, On Wed, Aug 31, 2005 at 08:45:04PM +0200, holger krekel wrote:
I'd like to suggest heading towards making PyPy's mixed C-ported modules more self-contained and not have it's implementation and initilization spread over several directories and code areas.
The 'thread' module is pretty much self-contained in this respect (I tried to keep it this way as much as possible), so I would like to hear more specifically what you think is still missing. The structure is: pypy/module/thread/ __init__.py interface app_*.py app-level stuff os_*.py interp-level stuff ('os' means using os threads) test/ tests for the above rpython/ exttable.py table of external functions (guides both the annotator and the rtyper) ll_thread.py the low-level functions (similar to rpython/module/ll_*.py) test/ rpython-level tests of external functions There is nothing at all specific to the thread module in pypy/annotator or in pypy/rpython. However, for now, there is some C support code in pypy/translator/c/src/*.h; I didn't know exactly if it is a good idea to put even that in the pypy/module/thread package. Maybe it is. A bientot, Armin.