tst.sigwait.d (178529) | tst.sigwait.d (178534) |
---|---|
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 --- 14 unchanged lines hidden (view full) --- 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29#pragma D option destructive 30 | 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 --- 14 unchanged lines hidden (view full) --- 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29#pragma D option destructive 30 |
31proc:::signal-send 32/pid == 0 && args[1]->pr_pid == $1 && args[2] == SIGUSR1/ | 31proc:::signal_send 32/args[1]->p_pid == $1 && args[2] == SIGUSR1/ |
33{ 34 sent = 1; 35} 36 | 33{ 34 sent = 1; 35} 36 |
37proc:::signal-clear | 37proc:::signal_clear |
38/pid == $1 && args[0] == SIGUSR1 && sent/ 39{ 40 exit(0); 41} | 38/pid == $1 && args[0] == SIGUSR1 && sent/ 39{ 40 exit(0); 41} |