Deleted Added
full compact
tst.mutex_type_adaptive.d (178529) tst.mutex_type_adaptive.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

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

39#pragma D option quiet
40
41BEGIN
42{
43 i = 0;
44 ret = -99;
45}
46
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

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

39#pragma D option quiet
40
41BEGIN
42{
43 i = 0;
44 ret = -99;
45}
46
47mutex_enter:adaptive-acquire
47mtx_lock:adaptive-acquire
48{
48{
49 ret = mutex_type_adaptive((kmutex_t *)arg0);
49 ret = mutex_type_adaptive((struct mtx *)arg0);
50 i++;
51}
52
53tick-1
54/ret == 1/
55{
56 exit(0);
57}

--- 14 unchanged lines hidden ---
50 i++;
51}
52
53tick-1
54/ret == 1/
55{
56 exit(0);
57}

--- 14 unchanged lines hidden ---