almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.
3 files changed