From owner-cvs-lib Sun Dec 14 18:15:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA06776 for cvs-lib-outgoing; Sun, 14 Dec 1997 18:15:38 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA06716; Sun, 14 Dec 1997 18:15:09 -0800 (PST) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA25915; Sun, 14 Dec 1997 18:12:43 -0800 (PST) Date: Sun, 14 Dec 1997 18:12:43 -0800 (PST) Message-Id: <199712150212.SAA25915@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdlib malloc.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 1997/12/14 18:12:43 PST Modified files: lib/libc/stdlib malloc.c Log: Fix recursion problem which occurs when a signal is received during a malloc. The signal handler creates a thread which requires a malloc... For now, the only thing to do is to block signals. When we move user pthreads to use the kernel threads, mutexes will be implemented in kernel space and then malloc can revert. Revision Changes Path 1.33 +12 -3 src/lib/libc/stdlib/malloc.c