[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]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Mærkelig t problemmed threads



On Fri, 8 Aug 2003, Klaus S. Madsen wrote:

> for (=0 ; i<NUM_THREADS; i++ ) 
> {
>  printf("CREATING THREAD: %d\n", i);
>  pthread_create(&threads[i], NULL, fetch_start, (void*)i);
> }
> 
> Og så for at få thread id'et ud i fetch_start:
> 
> void *fetch_start(void * threadid)
> {
>  printf("THREAD %d STARTED...\n", (int)threadid);
> }

Nu sidder jeg og laver noget helt helt andet, men har du ikke præcist 
samme problem her? Race race?

Mads

-- 
Mads Bondo Dydensborg.                               sslug@sslug
You may not use the Software in connection with any site that disparages
Microsoft, MSN, MSNBC, Expedia, or their products or services, infringe any
intellectual property or other rights of these parties, violate any state,
federal or international law, or promote racism, hatred or pornography. 
                                     - Part of MS Frontpage 2002 EULA



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *