03-21-2008
5 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
if any user think that the thread posted by them is not good and want to delete it how to do that? (1 Reply)
Discussion started by: sekar sundaram
1 Replies
2. Post Here to Contact Site Administrators and Moderators
dear admin,
i like to know simply which unix flavour is powerful.. and which is costlier... i thought to get some idea.. if my query is good and but still it should not be discussed here, write something in removed and u delete that thread if it is not good..
sorry for the inconvinence..
... (1 Reply)
Discussion started by: sekar sundaram
1 Replies
3. Post Here to Contact Site Administrators and Moderators
sorry! accidentally posted the same post twice on a thread.. could
you please remove the second .. thanx
moxxx68 (1 Reply)
Discussion started by: moxxx68
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi, I joined yesterday and posted a thread and received emails from people suggesting solutions. My problem is that when I tried to access my posting this morning by clicking on the link in an emial, it said I wasn't registered and I had to re-register and I can't find my posting. The emial I... (1 Reply)
Discussion started by: hdixon
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi Moderator,
Please delete the below post which i posted by mistake.Thanks in advance.
https://www.unix.com/shell-programming-and-scripting/260605-closed-script-not-working-new-post.html
Kindly help me on this.
Thanks,
vijay (1 Reply)
Discussion started by: bhas85
1 Replies
LEARN ABOUT HPUX
pthread_detach
pthread_detach(3T) pthread_detach(3T)
NAME
pthread_detach() - mark a thread as detached to reclaim its resources when it terminates
SYNOPSIS
PARAMETERS
thread Thread whose resources are to be reclaimed immediately when it terminates.
DESCRIPTION
is used to detach the thread thread. When thread terminates, its resources will automatically be reclaimed by the system. If thread has
already terminated, causes the resources of thread to be reclaimed by the system.
does not cause thread to terminate.
Once a detached thread has terminated, its resources, including the thread ID, may be reused by the system. The return status of a detached
thread is lost when the thread terminates.
Calling this function multiple times for the same thread results in undefined behavior.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
[EINVAL] thread does not refer to a joinable thread.
[ESRCH] No thread could be found corresponding to thread.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_create(3T), pthread_join(3T), wait(2).
STANDARDS CONFORMANCE
Pthread Library pthread_detach(3T)