Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: related to thread
PostPosted: Sat Jan 07, 2012 3:47 pm 
Offline

Joined: Tue Nov 29, 2011 7:56 am
Posts: 10
Hi!

What happen if i detach thread using pthread_detach function after thread exit using pthread_exit(NULL)

In some cases like thread is completed before pthread_create function returns then following function sequence happen
pthread_create()
pthread_exit(NULL)
pthread_detach()

if any unexpected or harmful side effect of pthread_detech() or any other function which mentioned above incase above function sequence happen then please reply me.
thanks in advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: