summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-12-19 13:24:54 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-12-19 13:24:54 +0000
commit7b3cca8521f8011e53960ec7537f0267841caa9e (patch)
treeb85d02b87730fee6e408ede12d4832fa81c1dc9f /lib/libkse
parent50207b49b7023e9dddefa0910c7bb006aa4ddaaf (diff)
downloadFreeBSD-src-7b3cca8521f8011e53960ec7537f0267841caa9e.zip
FreeBSD-src-7b3cca8521f8011e53960ec7537f0267841caa9e.tar.gz
Replace a comment with more accurated one, memory heap is now protected by
new fork() wrapper.
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/thread/thr_kern.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c
index a5d068b..c72e915 100644
--- a/lib/libkse/thread/thr_kern.c
+++ b/lib/libkse/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)
OpenPOWER on IntegriCloud