<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.cs.put.poznan.pl/jkonczak/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Jan Kończak os_cp:threads</title>
        <description></description>
        <link>http://www.cs.put.poznan.pl/jkonczak/</link>
        <lastBuildDate>Sun, 19 Apr 2026 13:12:31 +0200</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://www.cs.put.poznan.pl/jkonczak/lib/tpl/dokuwiki/images/favicon.ico</url>
            <title>Jan Kończak</title>
            <link>http://www.cs.put.poznan.pl/jkonczak/</link>
        </image>
        <item>
            <title>os_cp:threads:solutions</title>
            <link>http://www.cs.put.poznan.pl/jkonczak/os_cp:threads:solutions?rev=1715114407&amp;do=diff</link>
            <description>#include &lt;pthread.h&gt;
#include &lt;stdio.h&gt;

void *thread_routine(void *arg) {
  puts(&quot;Hello world&quot;);
  return NULL;
}

int main() {
  pthread_t myThread;
  if (-1 == pthread_create(&amp;myThread, NULL, thread_routine, NULL)) {
    perror(&quot;Creating a thread failed&quot;);
    return 1;
  }
  pthread_join(myThread, NULL);
  return 0;
}</description>
        <category>os_cp:threads</category>
            <pubDate>Tue, 07 May 2024 22:40:07 +0200</pubDate>
        </item>
    </channel>
</rss>
