07-30-2007
Thanks Jgt....
Hey Borg...wanted to let you know that i have already posted two threads but each time i spent time on seacrhing for the new thread.
Don't mind but it was very frustrating. I applogise if this hurt anyone.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I am not getting post new thread button when i was logged in.
tell me how to do this.
i want to print data between two lines in a file into another file. which command should i use in UNIX (0 Replies)
Discussion started by: kamesh83
0 Replies
2. Forum Support Area for Unregistered Users & Account Problems
I can not Post a Thread. (1 Reply)
Discussion started by: spiderman3k
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
hi,
Pls help me .. i cannot able to post the threads (1 Reply)
Discussion started by: am_73798
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
hi,,
sorry, couldnt navigate myself to post a new thread, pls guide if possible
Thanks
santhosh (1 Reply)
Discussion started by: santy_33
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Can you tell me how to post a new thread?
Please help me ASAP.
Thanks,
Dipakg (2 Replies)
Discussion started by: dipakg
2 Replies
6. Post Here to Contact Site Administrators and Moderators
Im new to this forum. can you guide me how to post a new thread.
Thanks in advance
Hari (3 Replies)
Discussion started by: Hari123
3 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi scoot
Hope you are doing well!!
I didn't post any new thread, is their any problem in my access
could you please check it and let me know.
Previously posted threads was one of my interview question and i didn't understand how to solve , i am a new for shell script, i didn't find any help... (2 Replies)
Discussion started by: ksakil
2 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Dear Moderator
I am not able to post any new thread or post reply to mine old thread.
Kindly help as i am stuck on one problem and needed suggestion.
Regards
Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
9. Post Here to Contact Site Administrators and Moderators
Just joined and registered 15 minutes ago.
Can't figure out how to post a new question about 'grep'
I searched and found that I need to click the 'New Thread' button, I couldn't see any 'New Thread' buttons anywhere, so I searched around and ended up here where I DO see a 'new thread' button....... (3 Replies)
Discussion started by: TuftyDave
3 Replies
LEARN ABOUT SUNOS
pthread_detach
pthread_detach(3C) pthread_detach(3C)
NAME
pthread_detach - detach a thread
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_detach(pthread_t thread);
The pthread_detach() function is used to indicate to the implementation that storage for the thread thread can be reclaimed when that
thread terminates. In other words, pthread_detach() dynamically resets the detachstate attribute of the thread to PTHREAD_CRE-
ATE_DETACHED. After a successful call to this function, it would not be necessary to reclaim the thread using pthread_join(). See
pthread_join(3C). If thread has not terminated, pthread_detach() will not cause it to terminate. The effect of multiple pthread_detach()
calls on the same target thread is unspecified.
If successful, pthread_detach() returns 0. Otherwise, an error number is returned to indicate the error.
The pthread_detach() function will fail if:
EINVAL The implementation has detected that the value specified by thread does not refer to a joinable thread.
ESRCH No thread could be found corresponding to that specified by the given thread ID.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
pthread_create(3C), pthread_join(3C), attributes(5), standards(5)
23 Mar 2005 pthread_detach(3C)