& 4'
0C/C + + - MT_lab6/MT_!ab6.c - QNX Momentics IDE
File Edit Refactor Navigate Search Project
Run
Window Help
[ft Project Explor £3
[ęj Iab4_2.c [x| siemanko.c
□ 192.168.232.129 ffl O 192.168.232.130 ffl O 192.168.232.132 O Iab3 D Iab4
- Iab4_2
;► ”
ffl %j. Binaries ffl Indudes
ffl & x86 ffi [x Iab4_2.c . L® common.mk [<|> Makefile O MT Jab5 E \S MT_lab6 ffl $ Binaries ffl Indudes
ffl & x86 ffl j£| MT_lab6.c . l® common.mk L© Makefile O multiwatek ffl siemanko O watek O watek2
' 0 start
<stdlib.h> <stdio.h> <pthread.h> <process.h> <unistd.h> <sys/wait.h>
{
ćb printf("Jestem procesem i dostałem argument %d \n",arg);
return EXIT SUCCESS;
{
pthread_t ident_watkuO; int argument = 3;
pthread create(Sident watkuO, NULL,f kod wątku, argument); printf ("Uelcome to the QNX Momentics IDE"); return EXIT SUCCESS;
[Ii Problerns *£j Tasks § Console £3 Cj Properties
<terminated> MT_lab6 [C/C4-+ QNX QConn (IP)] /tmp/MT_lab6u‘
* %
Jestem procesem i dostałem argument 3 Uelcome to the QNX Momentics IDE
Writable
Srnart Insert
19 : 25
C/C++ - MT_lab6/MT... Momentics MT - VMw... ) pthreads in C - a mini... laboratorium6.pdf - A.