Sponsored Content
Full Discussion: Thread questions
Contact Us Post Here to Contact Site Administrators and Moderators Thread questions Post 302187006 by Perderabo on Friday 18th of April 2008 05:00:35 PM
Old 04-18-2008
You should see a little box on the right labelled "rate this thread". Any member can rate a thread. If your problem is solved a final post saying so is good form. But someone else may still have a followup question, so in general we do not close old threads. And we do not have an automated point system here.
 

4 More Discussions You Might Find Interesting

1. Programming

How to cancel a thread safely from the initial thread?

how about asynchronous canceling? or with signal? if with signal whether it effects the process? my english so badly :( :( (1 Reply)
Discussion started by: alan.zhao
1 Replies

2. UNIX for Dummies Questions & Answers

3 homework questions (thread closed)

1st) how can i print only directories? 2nd) how can i print files that someone used in the last X days (for example, 5). thanks very much, i need it for homework and teacher teachs us nothing:( (1 Reply)
Discussion started by: SupErioR
1 Replies

3. Solaris

Interview questions [thread closed]

Hi all, i have found a set questions from the net, i thought it will be great to ask and share with you gurus. I have the questions and some answers (correct me, if i am wrong) for these set of questions. 1. What file do you modify to change the mail aliases (Provide the full path) ? Ans:... (1 Reply)
Discussion started by: kingston
1 Replies

4. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
pthread_detach(3)					     Library Functions Manual						 pthread_detach(3)

NAME
pthread_detach - Marks a thread object for deletion. LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS
#include <pthread.h> int pthread_detach( pthread_t thread); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: IEEE Std 1003.1c-1995, POSIX System Application Program Interface PARAMETERS
Thread object being marked for deletion. DESCRIPTION
This routine marks the specified thread object to indicate that storage for the corresponding thread can be reclaimed when the thread ter- minates. This includes storage for the thread argument's return value, as well as the thread object. If thread has not terminated when this routine is called, this routine does not cause it to terminate. When a thread object is no longer referenced, call this routine. The results of this routine are unpredictable if the value of thread refers to a thread object that does not exist. A thread can be created already detached by setting its thread object's detachstate attribute. The pthread_join(3) routine also detaches the target thread after pthread_join(3) returns successfully. RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: Successful completion. The value specified by thread does not refer to a joinable thread. The value specified by thread cannot be found. ERRORS
None RELATED INFORMATION
Routines: pthread_cancel(3), pthread_create(3), pthread_exit(3), pthread_join(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_detach(3)
All times are GMT -4. The time now is 04:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy