Diff of /manual/pthread_getunique_np.html [000000] .. [79e7e4] Maximize Restore

  Switch to unified view

a b/manual/pthread_getunique_np.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
  <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
  <TITLE>PTHREAD_GETW32THREADHANDLE_NP manual page</TITLE>
6
  <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.2  (Linux)">
7
  <META NAME="CREATED" CONTENT="20050505;322600">
8
  <META NAME="CHANGEDBY" CONTENT="Ross Johnson">
9
  <META NAME="CHANGED" CONTENT="20110326;18290500">
10
  <META NAME="CHANGEDBY" CONTENT="Ross Johnson">
11
  <!-- manual page source format generated by PolyglotMan v3.2, -->
12
  <!-- available at http://polyglotman.sourceforge.net/ -->
13
  <STYLE TYPE="text/css">
14
  <!--
15
      H4.cjk { font-family: "AR PL UMing CN" }
16
      H4.ctl { font-family: "Lohit Devanagari" }
17
      H2.cjk { font-family: "AR PL UMing CN" }
18
      H2.ctl { font-family: "Lohit Devanagari" }
19
  -->
20
  </STYLE>
21
</HEAD>
22
<BODY LANG="en-GB" BGCOLOR="#ffffff" DIR="LTR">
23
<H4 CLASS="western">POSIX Threads for Windows – REFERENCE -
24
<A HREF="http://sources.redhat.com/pthreads-win32">Pthreads-w32</A></H4>
25
<P><A HREF="index.html">Reference Index</A></P>
26
<P><A HREF="#toc">Table of Contents</A></P>
27
<H2 CLASS="western"><A HREF="#toc0" NAME="sect0">Name</A></H2>
28
<P STYLE="font-weight: normal">pthread_getunique_np – get the
29
unique sequence number associated with a thread</P>
30
<H2 CLASS="western"><A HREF="#toc1" NAME="sect1">Synopsis</A></H2>
31
<P><B>#include &lt;pthread.h&gt;</B> 
32
</P>
33
<P><B>unsigned long long pthread_getunique_np(pthread_t</B> <I>thread</I><B>);</B></P>
34
<H2 CLASS="western"><A HREF="#toc2" NAME="sect2">Description</A></H2>
35
<P>Returns the <B>unique </B><SPAN STYLE="font-weight: normal">64 bit
36
sequence number</SPAN> assigned to <I>thread</I>.</P>
37
<P>In <B>Pthreads-win32:</B></P>
38
<UL>
39
  <LI><P>the value returned is not reused after the thread terminates
40
  so it is unique for the life of the process</P>
41
  <LI><P>Windows native threads may obtain their own POSIX thread
42
  sequence number by first retrieving their <B>pthread_t</B> handle
43
  via <B>pthread_self</B> to use as the <I>thread</I> argument.</P>
44
</UL>
45
<P>This function was added for source code compatibility with some
46
other POSIX threads implementations.</P>
47
<H2 CLASS="western"><A HREF="#toc3" NAME="sect3">Cancellation</A></H2>
48
<P>None.</P>
49
<H2 CLASS="western"><A HREF="#toc4" NAME="sect4">Return Value</A></H2>
50
<P><B>pthread_getunique_np</B> returns the unique sequence number for
51
<I>thread</I>.</P>
52
<H2 CLASS="western"><A HREF="#toc5" NAME="sect5">Errors</A></H2>
53
<P>None.</P>
54
<H2 CLASS="western"><A HREF="#toc6" NAME="sect6">Author</A></H2>
55
<P>Ross Johnson for use with <A HREF="http://sources.redhat.com/pthreads-win32">Pthreads-w32</A>.</P>
56
<HR>
57
<P><A NAME="toc"></A><B>Table of Contents</B></P>
58
<UL>
59
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect0" NAME="toc0">Name</A>
60
      </P>
61
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect1" NAME="toc1">Synopsis</A>
62
      </P>
63
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect2" NAME="toc2">Description</A>
64
      </P>
65
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect3" NAME="toc3">Cancellation</A>
66
      </P>
67
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect4" NAME="toc4">Return
68
  Value</A> 
69
  </P>
70
  <LI><P STYLE="margin-bottom: 0in"><A HREF="#sect5" NAME="toc5">Errors</A>
71
      </P>
72
  <LI><P><A HREF="#sect6" NAME="toc6">Author</A> 
73
  </P>
74
</UL>
75
</BODY>
76
</HTML>