MT raport lab6 1

MT raport lab6 1



& 4'

0C/C + + - MT_lab6/MT_!ab6.c - QNX Momentics IDE

File Edit Refactor Navigate Search Project


Run


Window Help


i #T ii - # T

<p*


[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


lo


łłinclude

łłinclude

łłinclude

łłinclude

łłinclude

łłinclude


<stdlib.h> <stdio.h> <pthread.h> <process.h> <unistd.h> <sys/wait.h>


void *£ kod wątku(void *arg)


{


ćb    printf("Jestem procesem i dostałem argument %d \n",arg);

return EXIT SUCCESS;


>


int main(int argc, char *argv[]


{


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.



Wyszukiwarka

Podobne podstrony:
po lab6 1x 2 ex scr1 File Edit View Project Build Debug Format Tools Test Window Help j
po lab6 1x 2 ex scr2 po-lab6.1x - Microsoft Visual Studio i _ File Edit View Project Build Debug For
Etap 6 1 Microsoft Access - [Raportl ] ^ File Edit View Tools Window Help ^ Close Setup ^ J _3 »■
21vcg04 ^ Peter D. Hipson- Microsoft Schedule+ ■0C File Edit View Insert To ols
t2w3ver2 jpeg ■ root:bash File Edit ViewScrollback Bookmarks Settings Help 12 lb■ 0ć 6G 021-  
201502031403 aw£} z*MtCVK>n    cy 42-300 MYSZKÓW    w -j -*«>
n f ;oiu4-iOVr i L^nd herc. *»mc } vpoccv* ♦ erword *>0C* (*<) MT Cołr/KV?TART rwc
skanuj0017 (102) ^wwi łt . • ■ - % • ‘ v iik$ t$3fe Mt (aJiM 1A WQ& jfe* AjBjy £0 v
skanuj0025 (169) i ay -npptmrrTL ^EĘniFnW &WP* TffiOjMran? I hyiotn i f mt/y IV —j
f38 3 Bob CagleThuridion j FAX (3 408-439-6963 E-Mail E3 b ob @thuridion. c om Address 269 Mt.
fil w1s5 0006 MmuuśTA wsiom, momuej. jnr] i u,r, 11 ij.y n f tym stu umie/ lh>- r-mt ty df

więcej podobnych podstron