Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-11 | ape: threadsafe errno | cinap_lenrek | |
store errno on the private process stack so its always per process and not just per memory space. errno itself becomes a macro dereferencing int *_errnoloc; which is initialized from main9.s pointing to the private stack location. various fixes in programs that just imported errno variable with "extern int errno;" instead of including <errno.h>. | |||
2013-03-11 | ape/stdio: make fopen() quasi threadsafe for python | cinap_lenrek | |
python uses processes sharing memory. it requires at least fopen() to be called by multiple threads at once so we introduce _IO_newfile() which allocates the FILE structure slot under a lock. | |||
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |