dt_proc.c (302408) | dt_proc.c (326302) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 412 unchanged lines hidden (view full) --- 421 * changes, the representative LWP ID changes, or the stop timestamp advances. 422 * dt_proc_control() will then rediscover the new state and continue as usual. 423 * When the process is still stopped in the same exact state, we sleep for a 424 * brief interval before waiting again so as not to spin consuming CPU cycles. 425 */ 426static void 427dt_proc_waitrun(dt_proc_t *dpr) 428{ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 412 unchanged lines hidden (view full) --- 421 * changes, the representative LWP ID changes, or the stop timestamp advances. 422 * dt_proc_control() will then rediscover the new state and continue as usual. 423 * When the process is still stopped in the same exact state, we sleep for a 424 * brief interval before waiting again so as not to spin consuming CPU cycles. 425 */ 426static void 427dt_proc_waitrun(dt_proc_t *dpr) 428{ |
429printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__); | 429 printf("%s:%s(%d): not implemented\n", __FUNCTION__, __FILE__, 430 __LINE__); |
430#ifdef DOODAD 431 struct ps_prochandle *P = dpr->dpr_proc; 432 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; 433 434 int krflag = psp->pr_flags & (PR_KLC | PR_RLC); 435 timestruc_t tstamp = psp->pr_tstamp; 436 lwpid_t lwpid = psp->pr_lwpid; 437 --- 772 unchanged lines hidden --- | 431#ifdef DOODAD 432 struct ps_prochandle *P = dpr->dpr_proc; 433 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; 434 435 int krflag = psp->pr_flags & (PR_KLC | PR_RLC); 436 timestruc_t tstamp = psp->pr_tstamp; 437 lwpid_t lwpid = psp->pr_lwpid; 438 --- 772 unchanged lines hidden --- |