Knowledge

pthreads

Source đź“ť

2063: 945:
software (which uses pthreads) with little or no modification to the Windows platform. Pthreads4w version 3.0.0 or later, released under the Apache Public License v2.0, is compatible with 64-bit or 32-bit Windows systems. Version 2.11.0, released under the LGPLv3 license, is also 64-bit or 32-bit
833:
that prints the unique number of this thread to standard output. If a programmer wanted the threads to communicate with each other, this would require defining a variable outside of the scope of any of the functions, making it a
941:
Windows does not support the pthreads standard natively, therefore the Pthreads4w project seeks to provide a portable and open-source wrapper implementation. It can also be used to port
1389: 69: 1479: 1331: 1460: 1288: 1265: 1242: 1219: 1727: 1750: 1086: 1639: 206: 1745: 1722: 1324: 1717: 1532: 1824: 1687: 143: 967:
package provides a native port of the pthreads API, i.e. not mapped on Win32 API but built directly on the operating system
2048: 1882: 1500: 1420: 1133: 2098: 2093: 2067: 2013: 1473: 1317: 1005: 171: 1992: 1787: 1672: 1634: 1484: 1374: 1068: 214: 115: 111: 2008: 1987: 1932: 1819: 1809: 1782: 1644: 1016: 999: 964: 139: 2088: 1962: 1588: 1527: 1440: 163: 119: 210: 1877: 2023: 2018: 1468: 839: 226: 1762: 1694: 1598: 1490: 1445: 1304: 1036: 1552: 58:
to control multiple different flows of work that overlap in time. Each flow of work is referred to as a
1854: 1814: 1767: 1757: 1495: 1415: 1354: 1794: 1682: 1677: 1667: 1654: 1450: 1031: 1026: 47: 1957: 1912: 1738: 1733: 1712: 1578: 179: 1982: 1831: 1804: 1629: 1593: 1583: 1384: 1364: 1359: 1340: 229:
API works with POSIX threads but is not part of the threads standard, having been defined in the
201: 60: 51: 1542: 2028: 1704: 1662: 1557: 1284: 1261: 1238: 1215: 1111: 135: 64:, and creation and control over these flows is achieved by making calls to the POSIX Threads 2038: 1837: 1772: 1619: 1435: 1430: 1425: 1394: 1193: 1090: 142:
subsystem which provides a native implementation of a number of POSIX APIs, and also within
87: 55: 1902: 1842: 1777: 1624: 1614: 1547: 1379: 1369: 1021: 835: 43: 1537: 2033: 1849: 1506: 1399: 1277: 1254: 980: 1180: 2082: 1922: 1799: 1231: 1168: 1157: 1048: 1522: 2043: 1042: 151: 1137: 1011: 1917: 1892: 994: 950: 167: 83: 31: 1229:
Bradford Nichols; Dick Buttlar; Jacqueline Proulx Farell (September 1996).
957:, which tries to use more native system calls than the Pthreads4w project. 1947: 1872: 219: 1972: 1952: 1927: 1562: 1045:(a subroutine within Windows for creating a new thread and Unix thread) 968: 960: 123: 99: 91: 17: 1942: 1937: 1309: 1134:"Experiments with the Open Source Pthreads Library and Some Comments" 985: 131: 95: 848:
Here is one of the many possible outputs from running this program.
196: 107: 103: 74: 1169:
File: pthreads4w-code-v2.11.0.zip – Source for pthreads4w v2.11.0
233:
standard. Consequently, the semaphore procedures are prefixed by
1977: 1907: 1897: 990: 942: 1313: 1158:
File: pthreads4w-code-v3.0.0.zip – Source for pthreads4w v3.0.0
965:
Windows Services for UNIX/Subsystem for UNIX-based Applications
829:
This program creates five threads, each executing the function
1887: 1864: 65: 953:
project also contains a wrapper implementation of 'pthreads,
1305:
The Open Group Base Specifications Issue 7, IEEE Std 1003.1
1194:"Chapter 1: Introduction to Windows Services for UNIX 3.5" 1069:"libc/bionic/pthread.c - platform/bionic - Git at Google" 231:
POSIX.1b, Real-time extensions (IEEE Std 1003.1b-1993)
185:
There are around 100 threads procedures, all prefixed
2001: 1863: 1703: 1653: 1607: 1571: 1515: 1459: 1408: 1347: 1181:
http://locklessinc.com/articles/pthreads_on_windows
27:
Execution model which allows for parallel computing
1276: 1253: 1230: 249:An example illustrating the use of pthreads in C: 193:Thread management – creating, joining threads etc. 401:"Thread %d: Will be sleeping for %d seconds. 82:Implementations of the API are available on many 70:Institute of Electrical and Electronics Engineers 1087:"Pthread Win-32: Level of standards conformance" 150:, which implements pthreads on top of existing 77:.1c, Threads extensions (IEEE Std 1003.1c-1995) 845:gcc pthreads_demo.c -pthread -o pthreads_demo 189:and they can be categorized into five groups: 1325: 1183:which is where it was originally derived from 8: 1275:Kay A. Robbins & Steven Robbins (2003). 1332: 1318: 1310: 898:Thread 3: Will be sleeping for 4 seconds. 892:Thread 4: Will be sleeping for 1 seconds. 886:Thread 2: Will be sleeping for 4 seconds. 883:Thread 1: Will be sleeping for 5 seconds. 877:Thread 0: Will be sleeping for 3 seconds. 838:. This program can be compiled using the 126:Adaptive, typically bundled as a library 68:. POSIX Threads is an API defined by the 174:and constants. It is implemented with a 1060: 1051:, an event driven approach to threading 963:environment subsystem available in the 674:"In main: All threads are created. 138:implementations also exist: within the 842:compiler with the following command: 7: 1112:"pthread.h(0p) — Linux manual page" 776:"In main: Thread %d has ended. 1252:Charles J. Northrup (1996-01-25). 686://wait for each thread to complete 578:"In main: Creating thread %d. 25: 895:In main: All threads are created. 46:that exists independently from a 2062: 2061: 1533:Analysis of parallel algorithms 1132:Hart, Johnson M. (2004-11-21). 527://create all threads one by one 1212:Programming with POSIX Threads 1: 1480:Simultaneous and heterogenous 1256:Programming with UNIX Threads 1237:. O'Reilly & Associates. 803:"Main program has ended. 2068:Category: Parallel computing 1089:. 2006-12-22. Archived from 928:In main: Thread 4 has ended. 925:In main: Thread 3 has ended. 922:In main: Thread 2 has ended. 919:In main: Thread 1 has ended. 907:In main: Thread 0 has ended. 1006:Native POSIX Thread Library 868:In main: Creating thread 4. 862:In main: Creating thread 3. 859:In main: Creating thread 2. 856:In main: Creating thread 1. 853:In main: Creating thread 0. 2115: 1375:High-performance computing 1210:David R. Butenhof (1997). 162:pthreads defines a set of 2057: 2009:Automatic parallelization 1645:Application checkpointing 1260:. John Wiley & Sons. 1017:clone (Linux system call) 1000:Threading Building Blocks 937:POSIX Threads for Windows 377:"Thread %d: Started. 1279:UNIX Systems Programming 1073:android.googlesource.com 1039:(Apple's thread library) 850: 251: 2024:Embarrassingly parallel 2019:Deterministic algorithm 931:Main program has ended. 443:"Thread %d: Ended. 1739:Associative processing 1695:Non-blocking algorithm 1501:Clustered multi-thread 1037:Grand Central Dispatch 209:between threads using 1855:Hardware acceleration 1768:Superscalar processor 1758:Dataflow architecture 1355:Distributed computing 284:#define NUM_THREADS 5 166:programming language 1734:Pipelined processing 1683:Explicit parallelism 1678:Implicit parallelism 1668:Dataflow programming 1233:Pthreads Programming 1032:GNU Portable Threads 1027:Thread-local storage 178:header and a thread 54:model. It allows a 48:programming language 38:, commonly known as 2099:Threads (computing) 1958:Parallel Extensions 1763:Pipelined processor 202:Condition variables 2094:Parallel computing 1832:Massively parallel 1810:distributed shared 1630:Cache invalidation 1594:Instruction window 1385:Manycore processor 1365:Massively parallel 1360:Parallel computing 1341:Parallel computing 1214:. Addison-Wesley. 1196:. 5 December 2007. 889:Thread 4: Started. 880:Thread 1: Started. 874:Thread 2: Started. 871:Thread 3: Started. 865:Thread 0: Started. 52:parallel execution 2076: 2075: 2029:Parallel slowdown 1663:Stream processing 1553:Karp–Flatt metric 1290:978-0-13-042411-2 1283:. Prentice-Hall. 1267:978-0-471-13751-1 1244:978-1-56592-115-3 1221:978-0-201-63392-4 275:<pthread.h> 146:packages such as 136:Microsoft Windows 88:operating systems 86:POSIX-conformant 16:(Redirected from 2106: 2065: 2064: 2039:Software lockout 1838:Computer cluster 1773:Vector processor 1728:Array processing 1713:Flynn's taxonomy 1620:Memory coherence 1395:Computer network 1334: 1327: 1320: 1311: 1294: 1282: 1271: 1259: 1248: 1236: 1225: 1198: 1197: 1190: 1184: 1177: 1171: 1166: 1160: 1155: 1149: 1148: 1146: 1145: 1136:. Archived from 1129: 1123: 1122: 1120: 1118: 1108: 1102: 1101: 1099: 1098: 1083: 1077: 1076: 1065: 932: 929: 926: 923: 920: 917: 916:Thread 1: Ended. 914: 913:Thread 3: Ended. 911: 910:Thread 2: Ended. 908: 905: 904:Thread 0: Ended. 902: 901:Thread 4: Ended. 899: 896: 893: 890: 887: 884: 881: 878: 875: 872: 869: 866: 863: 860: 857: 854: 825: 822: 819: 816: 813: 810: 807: 804: 801: 798: 795: 792: 789: 786: 783: 780: 777: 774: 771: 768: 765: 762: 759: 756: 753: 750: 747: 744: 741: 738: 735: 732: 729: 726: 723: 720: 717: 714: 711: 708: 705: 702: 699: 696: 693: 690: 687: 684: 681: 678: 675: 672: 669: 666: 663: 660: 657: 654: 651: 648: 645: 642: 639: 636: 633: 630: 627: 624: 621: 618: 615: 612: 609: 606: 603: 600: 597: 594: 591: 588: 585: 582: 579: 576: 573: 570: 567: 564: 561: 558: 555: 552: 549: 546: 543: 540: 537: 534: 531: 528: 525: 522: 519: 516: 513: 510: 507: 504: 501: 498: 495: 492: 489: 486: 483: 480: 477: 474: 471: 468: 465: 462: 459: 456: 453: 450: 447: 444: 441: 438: 435: 432: 429: 426: 423: 420: 417: 414: 411: 408: 405: 402: 399: 396: 393: 390: 387: 384: 381: 378: 375: 372: 369: 366: 363: 360: 357: 354: 351: 348: 345: 342: 339: 336: 333: 330: 327: 324: 321: 318: 315: 312: 309: 306: 303: 300: 297: 294: 291: 288: 285: 282: 281:<unistd.h> 279: 276: 273: 270: 269:<assert.h> 267: 264: 263:<stdlib.h> 261: 258: 255: 240: 236: 211:read write locks 188: 177: 72:(IEEE) standard 21: 2114: 2113: 2109: 2108: 2107: 2105: 2104: 2103: 2089:C POSIX library 2079: 2078: 2077: 2072: 2053: 1997: 1903:Coarray Fortran 1859: 1843:Beowulf cluster 1699: 1649: 1640:Synchronization 1625:Cache coherence 1615:Multiprocessing 1603: 1567: 1548:Cost efficiency 1543:Gustafson's law 1511: 1455: 1404: 1380:Multiprocessing 1370:Cloud computing 1343: 1338: 1301: 1291: 1274: 1268: 1251: 1245: 1228: 1222: 1209: 1206: 1204:Further reading 1201: 1192: 1191: 1187: 1178: 1174: 1167: 1163: 1156: 1152: 1143: 1141: 1131: 1130: 1126: 1116: 1114: 1110: 1109: 1105: 1096: 1094: 1085: 1084: 1080: 1067: 1066: 1062: 1058: 1022:Spurious wakeup 977: 939: 934: 933: 930: 927: 924: 921: 918: 915: 912: 909: 906: 903: 900: 897: 894: 891: 888: 885: 882: 879: 876: 873: 870: 867: 864: 861: 858: 855: 852: 846: 836:global variable 827: 826: 823: 820: 817: 814: 811: 808: 805: 802: 799: 796: 793: 790: 787: 784: 781: 778: 775: 772: 769: 766: 763: 760: 757: 754: 751: 748: 745: 742: 739: 736: 733: 730: 727: 724: 721: 718: 715: 712: 709: 706: 703: 700: 697: 694: 691: 688: 685: 682: 679: 676: 673: 670: 667: 664: 661: 658: 655: 652: 649: 646: 643: 640: 637: 634: 631: 628: 625: 622: 619: 616: 613: 610: 607: 604: 601: 598: 595: 592: 589: 586: 583: 580: 577: 574: 571: 568: 565: 562: 559: 556: 553: 550: 547: 544: 541: 538: 535: 532: 529: 526: 523: 520: 517: 514: 511: 508: 505: 502: 499: 496: 493: 490: 487: 484: 481: 478: 475: 472: 469: 466: 463: 460: 457: 454: 451: 448: 445: 442: 439: 436: 433: 430: 427: 424: 421: 418: 415: 412: 409: 406: 403: 400: 397: 394: 391: 388: 385: 382: 379: 376: 373: 370: 367: 364: 361: 358: 355: 352: 349: 346: 343: 340: 337: 334: 331: 328: 325: 322: 319: 316: 313: 310: 307: 304: 301: 298: 295: 292: 289: 286: 283: 280: 277: 274: 271: 268: 265: 262: 259: 257:<stdio.h> 256: 253: 247: 238: 234: 207:Synchronization 186: 175: 160: 50:, as well as a 44:execution model 28: 23: 22: 15: 12: 11: 5: 2112: 2110: 2102: 2101: 2096: 2091: 2081: 2080: 2074: 2073: 2071: 2070: 2058: 2055: 2054: 2052: 2051: 2046: 2041: 2036: 2034:Race condition 2031: 2026: 2021: 2016: 2011: 2005: 2003: 1999: 1998: 1996: 1995: 1990: 1985: 1980: 1975: 1970: 1965: 1960: 1955: 1950: 1945: 1940: 1935: 1930: 1925: 1920: 1915: 1910: 1905: 1900: 1895: 1890: 1885: 1880: 1875: 1869: 1867: 1861: 1860: 1858: 1857: 1852: 1847: 1846: 1845: 1835: 1829: 1828: 1827: 1822: 1817: 1812: 1807: 1802: 1792: 1791: 1790: 1785: 1778:Multiprocessor 1775: 1770: 1765: 1760: 1755: 1754: 1753: 1748: 1743: 1742: 1741: 1736: 1731: 1720: 1709: 1707: 1701: 1700: 1698: 1697: 1692: 1691: 1690: 1685: 1680: 1670: 1665: 1659: 1657: 1651: 1650: 1648: 1647: 1642: 1637: 1632: 1627: 1622: 1617: 1611: 1609: 1605: 1604: 1602: 1601: 1596: 1591: 1586: 1581: 1575: 1573: 1569: 1568: 1566: 1565: 1560: 1555: 1550: 1545: 1540: 1535: 1530: 1525: 1519: 1517: 1513: 1512: 1510: 1509: 1507:Hardware scout 1504: 1498: 1493: 1488: 1482: 1477: 1471: 1465: 1463: 1461:Multithreading 1457: 1456: 1454: 1453: 1448: 1443: 1438: 1433: 1428: 1423: 1418: 1412: 1410: 1406: 1405: 1403: 1402: 1400:Systolic array 1397: 1392: 1387: 1382: 1377: 1372: 1367: 1362: 1357: 1351: 1349: 1345: 1344: 1339: 1337: 1336: 1329: 1322: 1314: 1308: 1307: 1300: 1299:External links 1297: 1296: 1295: 1289: 1272: 1266: 1249: 1243: 1226: 1220: 1205: 1202: 1200: 1199: 1185: 1172: 1161: 1150: 1124: 1103: 1078: 1059: 1057: 1054: 1053: 1052: 1046: 1040: 1034: 1029: 1024: 1019: 1014: 1009: 1003: 997: 988: 983: 981:Runtime system 976: 973: 938: 935: 851: 844: 614:pthread_create 252: 246: 243: 223: 222: 217: 204: 199: 194: 159: 156: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 2111: 2100: 2097: 2095: 2092: 2090: 2087: 2086: 2084: 2069: 2060: 2059: 2056: 2050: 2047: 2045: 2042: 2040: 2037: 2035: 2032: 2030: 2027: 2025: 2022: 2020: 2017: 2015: 2012: 2010: 2007: 2006: 2004: 2000: 1994: 1991: 1989: 1986: 1984: 1981: 1979: 1976: 1974: 1971: 1969: 1966: 1964: 1961: 1959: 1956: 1954: 1951: 1949: 1946: 1944: 1941: 1939: 1936: 1934: 1931: 1929: 1926: 1924: 1923:Global Arrays 1921: 1919: 1916: 1914: 1911: 1909: 1906: 1904: 1901: 1899: 1896: 1894: 1891: 1889: 1886: 1884: 1881: 1879: 1876: 1874: 1871: 1870: 1868: 1866: 1862: 1856: 1853: 1851: 1850:Grid computer 1848: 1844: 1841: 1840: 1839: 1836: 1833: 1830: 1826: 1823: 1821: 1818: 1816: 1813: 1811: 1808: 1806: 1803: 1801: 1798: 1797: 1796: 1793: 1789: 1786: 1784: 1781: 1780: 1779: 1776: 1774: 1771: 1769: 1766: 1764: 1761: 1759: 1756: 1752: 1749: 1747: 1744: 1740: 1737: 1735: 1732: 1729: 1726: 1725: 1724: 1721: 1719: 1716: 1715: 1714: 1711: 1710: 1708: 1706: 1702: 1696: 1693: 1689: 1686: 1684: 1681: 1679: 1676: 1675: 1674: 1671: 1669: 1666: 1664: 1661: 1660: 1658: 1656: 1652: 1646: 1643: 1641: 1638: 1636: 1633: 1631: 1628: 1626: 1623: 1621: 1618: 1616: 1613: 1612: 1610: 1606: 1600: 1597: 1595: 1592: 1590: 1587: 1585: 1582: 1580: 1577: 1576: 1574: 1570: 1564: 1561: 1559: 1556: 1554: 1551: 1549: 1546: 1544: 1541: 1539: 1536: 1534: 1531: 1529: 1526: 1524: 1521: 1520: 1518: 1514: 1508: 1505: 1502: 1499: 1497: 1494: 1492: 1489: 1486: 1483: 1481: 1478: 1475: 1472: 1470: 1467: 1466: 1464: 1462: 1458: 1452: 1449: 1447: 1444: 1442: 1439: 1437: 1434: 1432: 1429: 1427: 1424: 1422: 1419: 1417: 1414: 1413: 1411: 1407: 1401: 1398: 1396: 1393: 1391: 1388: 1386: 1383: 1381: 1378: 1376: 1373: 1371: 1368: 1366: 1363: 1361: 1358: 1356: 1353: 1352: 1350: 1346: 1342: 1335: 1330: 1328: 1323: 1321: 1316: 1315: 1312: 1306: 1303: 1302: 1298: 1292: 1286: 1281: 1280: 1273: 1269: 1263: 1258: 1257: 1250: 1246: 1240: 1235: 1234: 1227: 1223: 1217: 1213: 1208: 1207: 1203: 1195: 1189: 1186: 1182: 1176: 1173: 1170: 1165: 1162: 1159: 1154: 1151: 1140:on 2010-08-30 1139: 1135: 1128: 1125: 1113: 1107: 1104: 1093:on 2010-06-11 1092: 1088: 1082: 1079: 1074: 1070: 1064: 1061: 1055: 1050: 1049:State Threads 1047: 1044: 1041: 1038: 1035: 1033: 1030: 1028: 1025: 1023: 1020: 1018: 1015: 1013: 1010: 1007: 1004: 1001: 998: 996: 992: 989: 987: 984: 982: 979: 978: 974: 972: 970: 966: 962: 958: 956: 952: 947: 944: 936: 849: 843: 841: 837: 832: 250: 244: 242: 232: 228: 221: 218: 216: 212: 208: 205: 203: 200: 198: 195: 192: 191: 190: 183: 181: 173: 169: 165: 157: 155: 153: 149: 145: 141: 137: 133: 129: 125: 121: 117: 113: 109: 105: 101: 97: 93: 89: 85: 80: 78: 76: 71: 67: 63: 62: 57: 53: 49: 45: 41: 37: 36:POSIX Threads 33: 19: 1967: 1608:Coordination 1538:Amdahl's law 1474:Simultaneous 1278: 1255: 1232: 1211: 1188: 1175: 1164: 1153: 1142:. Retrieved 1138:the original 1127: 1115:. Retrieved 1106: 1095:. Retrieved 1091:the original 1081: 1072: 1063: 959: 954: 948: 946:compatible. 940: 847: 831:perform_work 830: 828: 737:pthread_join 635:perform_work 293:perform_work 248: 230: 224: 184: 161: 148:pthreads-w32 147: 127: 81: 73: 59: 39: 35: 29: 2044:Scalability 1805:distributed 1688:Concurrency 1655:Programming 1496:Cooperative 1485:Speculative 1421:Instruction 1117:18 December 1043:Beginthread 971:interface. 955:winpthreads 764:result_code 731:result_code 713:NUM_THREADS 659:result_code 644:thread_args 608:result_code 596:thread_args 554:NUM_THREADS 521:result_code 503:thread_args 365:NUM_THREADS 237:instead of 152:Windows API 144:third-party 2083:Categories 2049:Starvation 1788:asymmetric 1523:PRAM model 1491:Preemptive 1144:2010-08-29 1097:2010-08-29 1056:References 1012:DCEThreads 431:sleep_time 419:sleep_time 344:sleep_time 225:The POSIX 128:libpthread 1783:symmetric 1528:PEM model 995:Cilk Plus 951:Mingw-w64 491:pthread_t 335:arguments 305:arguments 227:semaphore 220:Spinlocks 176:pthread.h 172:functions 84:Unix-like 32:computing 2014:Deadlock 2002:Problems 1968:pthreads 1948:OpenHMPP 1873:Ateji PX 1834:computer 1705:Hardware 1572:Elements 1558:Slowdown 1469:Temporal 1451:Pipeline 975:See also 278:#include 272:#include 266:#include 260:#include 254:#include 239:pthread_ 215:barriers 187:pthread_ 158:Contents 90:such as 42:, is an 40:pthreads 1973:RaftLib 1953:OpenACC 1928:GPUOpen 1918:C++ AMP 1893:Charm++ 1635:Barrier 1579:Process 1563:Speedup 1348:General 969:syscall 961:Interix 743:threads 623:threads 494:threads 245:Example 197:Mutexes 180:library 140:SFU/SUA 124:AUTOSAR 116:Solaris 112:Android 100:OpenBSD 92:FreeBSD 56:program 18:Pthread 2066:  1943:OpenCL 1938:OpenMP 1883:Chapel 1800:shared 1795:Memory 1730:(SIMT) 1673:Models 1584:Thread 1516:Theory 1487:(SpMT) 1441:Memory 1426:Thread 1409:Levels 1287:  1264:  1241:  1218:  1008:(NPTL) 986:OpenMP 815:return 809:" 797:printf 782:" 770:printf 755:assert 680:" 668:printf 650:assert 584:" 572:printf 461:return 449:" 437:printf 407:" 395:printf 383:" 371:printf 132:DR-DOS 122:, and 96:NetBSD 61:thread 1913:Dryad 1878:Boost 1599:Array 1589:Fiber 1503:(CMT) 1476:(SMT) 1390:GPGPU 1002:(TBB) 641:& 620:& 455:index 425:sleep 413:index 389:index 314:index 168:types 120:Redox 108:macOS 104:Linux 75:POSIX 1978:ROCm 1908:CUDA 1898:Cilk 1865:APIs 1825:COMA 1820:NUMA 1751:MIMD 1746:MISD 1723:SIMD 1718:SISD 1446:Loop 1436:Data 1431:Task 1285:ISBN 1262:ISBN 1239:ISBN 1216:ISBN 1179:see 1119:2022 991:Cilk 949:The 943:Unix 749:NULL 710:< 629:NULL 551:< 482:void 476:main 464:NULL 356:rand 299:void 287:void 235:sem_ 213:and 134:and 1993:ZPL 1988:TBB 1983:UPC 1963:PVM 1933:MPI 1888:HPX 1815:UMA 1416:Bit 840:gcc 689:for 530:for 518:int 509:int 500:int 473:int 341:int 326:int 311:int 66:API 30:In 2085:: 1071:. 812:); 806:\n 791:); 779:\n 767:); 752:); 722:++ 683:); 677:\n 662:); 647:); 593:); 581:\n 563:++ 458:); 446:\n 434:); 422:); 404:\n 392:); 380:\n 359:() 338:); 323:(( 308:){ 241:. 182:. 170:, 154:. 130:. 118:, 114:, 110:, 106:, 102:, 98:, 94:, 79:. 34:, 1333:e 1326:t 1319:v 1293:. 1270:. 1247:. 1224:. 1147:. 1121:. 1100:. 1075:. 993:/ 824:} 821:; 818:0 800:( 794:} 788:i 785:, 773:( 761:! 758:( 746:, 740:( 734:= 728:{ 725:) 719:i 716:; 707:i 704:; 701:0 698:= 695:i 692:( 671:( 665:} 656:! 653:( 638:, 632:, 626:, 617:( 611:= 605:; 602:i 599:= 590:i 587:, 575:( 569:{ 566:) 560:i 557:; 548:i 545:; 542:0 539:= 536:i 533:( 524:; 515:; 512:i 506:; 497:; 488:{ 485:) 479:( 470:} 467:; 452:, 440:( 428:( 416:, 410:, 398:( 386:, 374:( 368:; 362:% 353:+ 350:1 347:= 332:) 329:* 320:* 317:= 302:* 296:( 290:* 164:C 20:)

Index

Pthread
computing
execution model
programming language
parallel execution
program
thread
API
Institute of Electrical and Electronics Engineers
POSIX
Unix-like
operating systems
FreeBSD
NetBSD
OpenBSD
Linux
macOS
Android
Solaris
Redox
AUTOSAR
DR-DOS
Microsoft Windows
SFU/SUA
third-party
Windows API
C
types
functions
library

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑