diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-12-19 13:24:54 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-12-19 13:24:54 +0000 |
| commit | c7148de1a6542ffda8d939d24cd03281af4e5262 (patch) | |
| tree | b85d02b87730fee6e408ede12d4832fa81c1dc9f /lib/libpthread/thread/thr_kern.c | |
| parent | f5925b74365a9223710735c5935cc7c5fa06502c (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index a5d068bf3c64..c72e915d1b69 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -199,9 +199,8 @@ thr_accounting(struct pthread *thread) * that require certain resources between the call to fork() and * the call to an exec function are undefined. * - * Here it is not safe to reinitialize the library after fork(). - * Because memory management may be corrupted, further calling - * malloc()/free() may cause undefined behavior. + * It is not safe to free memory after fork(), because these data + * structures may be in inconsistent state. */ void _kse_single_thread(struct pthread *curthread) |
