[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
On Fri, Aug 20 1999, Thomas wrote: > Her er et eksempel på tråde fra Linux Journal # 61: > > pthread_t *tids; Som der blev skrevet i Linux Journal #62, så skal ovenstående selvfølgelig være tids[10]; > int i; > /* We will now create the 10 threads. Each thread will > * increment x until x is 4000. > * On our last argument ot pthread_create we could > * have passed an argument to the thread function > */ > for(i=0;i<10;i++) > { > pthread_dreate(&tids[i], NULL, mythread, NULL); > } -- * Jens Axboe <sslug@sslug> * Linux CD-ROM Maintainer * http://www.kernel.dk
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |