23.07.2013 Views

HP-UX 11i Knowledge-on-Demand

HP-UX 11i Knowledge-on-Demand

HP-UX 11i Knowledge-on-Demand

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Summary<br />

• Use Mercury time functi<strong>on</strong>s to speed up applicati<strong>on</strong>s<br />

requiring rapid, frequent use of getting time.<br />

• Use Mercury c<strong>on</strong>text switching c<strong>on</strong>trol and thread state<br />

viewing functi<strong>on</strong>s to help reduce c<strong>on</strong>tenti<strong>on</strong> for user-written<br />

locks.<br />

• D<strong>on</strong>’t use Mercury for timestamps generated by multiple<br />

threads that must be in the right order.<br />

• D<strong>on</strong>’t use Mercury c<strong>on</strong>text switch c<strong>on</strong>trol for code that<br />

requires such c<strong>on</strong>trol for functi<strong>on</strong>al correctness; it is a hint<br />

to the OS, not a command.<br />

<str<strong>on</strong>g>HP</str<strong>on</strong>g>-<str<strong>on</strong>g>UX</str<strong>on</strong>g> <str<strong>on</strong>g>11i</str<strong>on</strong>g> v3 Training

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!