Windows PowerShell command on Get-command smt_pause
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man smt_pause

Standard C Library Functions smt_pause(3C)

NAME

smt_pause - busy wait idle function

SYNOPSIS

#include

void smt_pause(void);

DESCRIPTION

The smt_pause() function delays for a short implementation-

dependent period before returning to the caller, consuming as few processor resources as possible. This primitive is recommended for use in busy wait loops to lessen the impact the loop has on the rest of the system. For example, on CMT systems it enables other hardware strands sharing the core to go faster during the busy wait.

USAGE

Typical usage is as follows: volatile int *wait; while (*wait == 1)

smt_pause();

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Interface Stability | Committed |

|_____________________________|_____________________________|

| MT-Level | MT-Safe |

|_____________________________|_____________________________|

SEE ALSO

attributes(5)

SunOS 5.11 Last change: 20 Jul 2010 1




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™