version 1.56, 2007/02/17 22:31:43 |
version 1.57, 2007/02/18 16:58:15 |
Line 216 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 216 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <sys/pool.h> |
#include <sys/pool.h> |
#include <sys/proc.h> |
#include <sys/proc.h> |
#include <sys/syscallargs.h> |
#include <sys/syscallargs.h> |
|
#include <sys/syscall_stats.h> |
#include <sys/kauth.h> |
#include <sys/kauth.h> |
#include <sys/sleepq.h> |
#include <sys/sleepq.h> |
#include <sys/lockdebug.h> |
#include <sys/lockdebug.h> |
Line 565 newlwp(struct lwp *l1, struct proc *p2, |
|
Line 566 newlwp(struct lwp *l1, struct proc *p2, |
|
LIST_INSERT_HEAD(&alllwp, l2, l_list); |
LIST_INSERT_HEAD(&alllwp, l2, l_list); |
mutex_exit(&proclist_mutex); |
mutex_exit(&proclist_mutex); |
|
|
|
SYSCALL_TIME_LWP_INIT(l2); |
|
|
if (p2->p_emul->e_lwp_fork) |
if (p2->p_emul->e_lwp_fork) |
(*p2->p_emul->e_lwp_fork)(l1, l2); |
(*p2->p_emul->e_lwp_fork)(l1, l2); |
|
|