2020-07-26 20:39:04 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2020-08-23 13:52:37 +00:00
< meta name = "generator" content = "Doxygen 1.8.19" / >
2020-07-26 20:39:04 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2020-07-26 20:40:39 +00:00
< title > MyOS Libc: libc/pthread.h Source File< / title >
2020-07-26 20:39:04 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
2020-07-26 20:40:39 +00:00
< div id = "projectname" > MyOS Libc
2020-07-26 20:39:04 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2020-08-23 13:52:37 +00:00
<!-- Generated by Doxygen 1.8.19 -->
2020-07-26 20:39:04 +00:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('pthread_8h_source.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > pthread.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a href = "pthread_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "preprocessor" > #ifndef PTHREAD_H< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "preprocessor" > #define PTHREAD_H< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > #include < sys/types.h> < / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > < a class = "line" href = "pthread_8h.html#ac8d6e30207ba9eba0dfa84dd51299656" > 10< / a > < / span >   < span class = "keyword" > typedef< / span > pid_t < a class = "code" href = "pthread_8h.html#ac8d6e30207ba9eba0dfa84dd51299656" > pthread_t< / a > ; < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > < a class = "line" href = "pthread_8h.html#a1d1f320a0fd5ba55ac57042ddb32dbea" > 11< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "pthread_8h.html#a1d1f320a0fd5ba55ac57042ddb32dbea" > pthread_attr_t< / a > ; < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "pthread_8h.html#a091adcef6201bebbf231763328c15286" > pthread_create< / a > (< a class = "code" href = "pthread_8h.html#ac8d6e30207ba9eba0dfa84dd51299656" > pthread_t< / a > *restrict thread,< / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "pthread_8h.html#a1d1f320a0fd5ba55ac57042ddb32dbea" > pthread_attr_t< / a > *restrict attr,< / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "keywordtype" > void< / span > *(*start_routine)(< span class = "keywordtype" > void< / span > *), < span class = "keywordtype" > void< / span > *restrict arg);< / div >
2020-08-02 19:37:55 +00:00
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "pthread_8h.html#a090bdc13141e76205fab4cb3c5fab0e4" > pthread_exit< / a > (< span class = "keywordtype" > void< / span > *value_ptr);< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "preprocessor" > #endif< / span > < / div >
2020-07-26 20:39:04 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
< / div > <!-- doc - content -->
< div class = "ttc" id = "apthread_8h_html_a091adcef6201bebbf231763328c15286" > < div class = "ttname" > < a href = "pthread_8h.html#a091adcef6201bebbf231763328c15286" > pthread_create< / a > < / div > < div class = "ttdeci" > int pthread_create(pthread_t *restrict thread, const pthread_attr_t *restrict attr, void *(*start_routine)(void *), void *restrict arg)< / div > < div class = "ttdef" > < b > Definition:< / b > pthread.c:8< / div > < / div >
< div class = "ttc" id = "apthread_8h_html_a1d1f320a0fd5ba55ac57042ddb32dbea" > < div class = "ttname" > < a href = "pthread_8h.html#a1d1f320a0fd5ba55ac57042ddb32dbea" > pthread_attr_t< / a > < / div > < div class = "ttdeci" > int pthread_attr_t< / div > < div class = "ttdoc" > Created as dummy.< / div > < div class = "ttdef" > < b > Definition:< / b > pthread.h:11< / div > < / div >
< div class = "ttc" id = "apthread_8h_html_ac8d6e30207ba9eba0dfa84dd51299656" > < div class = "ttname" > < a href = "pthread_8h.html#ac8d6e30207ba9eba0dfa84dd51299656" > pthread_t< / a > < / div > < div class = "ttdeci" > pid_t pthread_t< / div > < div class = "ttdoc" > Represents a thread.< / div > < div class = "ttdef" > < b > Definition:< / b > pthread.h:10< / div > < / div >
2020-08-02 19:37:55 +00:00
< div class = "ttc" id = "apthread_8h_html_a090bdc13141e76205fab4cb3c5fab0e4" > < div class = "ttname" > < a href = "pthread_8h.html#a090bdc13141e76205fab4cb3c5fab0e4" > pthread_exit< / a > < / div > < div class = "ttdeci" > void pthread_exit(void *value_ptr)< / div > < div class = "ttdef" > < b > Definition:< / b > pthread.c:19< / div > < / div >
2020-07-26 20:39:04 +00:00
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_fc1eb218ab426e5adb60367f98438da0.html" > libc< / a > < / li > < li class = "navelem" > < a class = "el" href = "pthread_8h.html" > pthread.h< / a > < / li >
2020-08-23 13:52:37 +00:00
< li class = "footer" > Generated by < a href = "http://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.8.19 < / li >
2020-07-26 20:39:04 +00:00
< / ul >
< / div >
< / body >
< / html >