kern_exec.c (6f8132a867d53fbc48dd8222a4fd1408ff1d9226) kern_exec.c (5215b1872feaad7ecf7cb1234749ecf04071deef)
1/*
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 196 unchanged lines hidden (view full) ---

205 PROC_UNLOCK(p);
206 return (ERESTART); /* Try again later. */
207 }
208 /*
209 * If we get here all other threads are dead,
210 * so unset the associated flags and lose KSE mode.
211 */
212 p->p_flag &= ~P_KSES;
1/*
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 196 unchanged lines hidden (view full) ---

205 PROC_UNLOCK(p);
206 return (ERESTART); /* Try again later. */
207 }
208 /*
209 * If we get here all other threads are dead,
210 * so unset the associated flags and lose KSE mode.
211 */
212 p->p_flag &= ~P_KSES;
213 td->td_flags &= ~TDF_UNBOUND;
214 td->td_mailbox = NULL;
213 td->td_mailbox = NULL;
215 td->td_kse->ke_mailbox = NULL;
216 td->td_kse->ke_flags &= ~KEF_DOUPCALL;
217 thread_single_end();
218 }
219 p->p_flag |= P_INEXEC;
220 PROC_UNLOCK(p);
221
222 /*
223 * Initialize part of the common data
224 */

--- 1039 unchanged lines hidden ---
214 thread_single_end();
215 }
216 p->p_flag |= P_INEXEC;
217 PROC_UNLOCK(p);
218
219 /*
220 * Initialize part of the common data
221 */

--- 1039 unchanged lines hidden ---