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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Mercury public: structure<br />

• There is a memory regi<strong>on</strong> shared with all threads in the<br />

system. This area is accessed by the Mercury library <strong>on</strong>ly,<br />

never directly by the user code.<br />

• The kernel updates the informati<strong>on</strong> in this regi<strong>on</strong> as it<br />

happens, <strong>on</strong> a “best effort” basis.<br />

• Only threads that request it will be tracked in this global<br />

memory regi<strong>on</strong>.<br />

• Some Mercury public functi<strong>on</strong>s see what state other threads<br />

are in; others c<strong>on</strong>trol when a thread has its state viewable.<br />

• The functi<strong>on</strong>s run fast because they are mostly memory<br />

operati<strong>on</strong>s, not system calls.<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!