07-06-2011
Hi manalisharmabe,
Welcome to the forums.
If you want to change topics, please start a new thread.
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
okay, where can i download the unix operating system? i cant find it anywhere on your site (1 Reply)
Discussion started by: dcotto21
1 Replies
2. UNIX for Dummies Questions & Answers
where can i download the game (1 Reply)
Discussion started by: kabouter5454
1 Replies
3. UNIX for Dummies Questions & Answers
where can i download UNIX OS?
I am a new bie! :confused: (3 Replies)
Discussion started by: vuluan
3 Replies
4. What is on Your Mind?
I would like to download a basic copy of LINUX to my PC as a sandbox in which I can run basic commands and functions as a learning tool.
I have an older PC - Pentium III Processor at 1GHz, 128MB RAM at 133 MHz, Windows ME operating system.
Is there a version of LINUX that would be compatible with... (9 Replies)
Discussion started by: ednan171
9 Replies
5. HP-UX
Hi,
I want to download HP-UX 11.31. From where i could get it?
Thanks,
Prashant. (1 Reply)
Discussion started by: prashantbhushan
1 Replies
6. HP-UX
Hi all,
Can anyone pls gimme the sitename or some torrent link to download HP-UX DVD / CDs. I want it for intel machines.
Pls help.
Thanks in adv.
Vikas (1 Reply)
Discussion started by: vikas027
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
From Where I can download MIB for Linux 7.2.
Please help.
Regards,
Sumit Roy (4 Replies)
Discussion started by: sumitroy
4 Replies
8. UNIX and Linux Applications
Dear All,
I am a newbie in this forum, I use to know the Linux box, now I want to try with UNIX, so how can I start from the beginning (setup, configuration.....)?
and where can I download UNIX?
Regards;
BL (2 Replies)
Discussion started by: chenboly
2 Replies
9. AIX
Hi All,
Which should I download from this SP:
http://www-933.ibm.com/eserver/support/fixes/fixcentral/pseriesfixpackinformation/5300-08-02-0822
I got my AIX5.3 freshly installed.
Thank you in advance. (1 Reply)
Discussion started by: itik
1 Replies
10. HP-UX
How to download HP-UX OS?
I want to install Hp-UX OS for practicing commands and all.
Which site can I use?
Kindly help!!
Thank you in advance!:o (7 Replies)
Discussion started by: manalisharmabe
7 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)