Tree
- Tree:
4b1d40a34ec3dbd9c3d936e04b6ed9f3c92ef589
- Date:
- Message:
- malloc: remove locking The issue manifests in fork: POSIX fork mandates that a fork'd process is created with a single thread. If a multithreaded program forks, and some thread was in malloc() when the fork() happened, then in the child the lock will be held but there will be no thread to release it. We assume the system malloc() must already know how to deal with this and is thread-safe, but it won't know about our custom spinlock. Judging that this is no longer necessary (the lock code was added 15 years ago) we remove it. Signed-off-by: Dan Cross <cross@gajendra.net>
generic* | commits | blame |
lpdspool* | commits | blame |
nospool* | commits | blame |