Sponsored Content
Full Discussion: Introduction
The Lounge What is on Your Mind? Introduction Post 302954206 by neil.corrigan12 on Saturday 5th of September 2015 01:17:41 PM
Old 09-05-2015
Me too! I was so confused where to post it! Thanks admin for modifying the description of this forum. It will definitely help other newbies as well!
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

introduction forum

sorry, I feel like such a dummy, but upon logging in you ask me to do a post introducing myself. I cannot find an "introduction forum" :o (1 Reply)
Discussion started by: shed
1 Replies

2. Shell Programming and Scripting

Introduction

Hi, I am new here. Recently I have started working on Unix Shell Scripting. So may I know from where to start... Regards, Darshak Raut (3 Replies)
Discussion started by: darshakraut
3 Replies

3. What is on Your Mind?

Introduction

Hi everyone. I am not really a new member i was once a member using the handle despiragado. I now wish to be identified with my new handle. It's been a while i have last visited the forum to see whats happening. I guess a lot has happened. I will try to read up and keep up to date. I am a... (3 Replies)
Discussion started by: split_func0
3 Replies

4. What is on Your Mind?

An Introduction to new Member

Hi guys, I am glad to be the part of this community. Hope my presence will be of great use for the people in this community. (2 Replies)
Discussion started by: subsystems
2 Replies
PTHREAD_DETACH(3)					     Library Functions Manual						 PTHREAD_DETACH(3)

NAME
pthread_detach - put a running thread in the detached state SYNOPSIS
#include <pthread.h> int pthread_detach(pthread_t th); DESCRIPTION
pthread_detach put the thread th in the detached state. This guarantees that the memory resources consumed by th will be freed immediately when th terminates. However, this prevents other threads from synchronizing on the termination of th using pthread_join. A thread can be created initially in the detached state, using the detachstate attribute to pthread_create(3). In contrast, pthread_detach applies to threads created in the joinable state, and which need to be put in the detached state later. After pthread_detach completes, subsequent attempts to perform pthread_join on th will fail. If another thread is already joining the thread th at the time pthread_detach is called, pthread_detach does nothing and leaves th in the joinable state. RETURN VALUE
On success, 0 is returned. On error, a non-zero error code is returned. ERRORS
ESRCH No thread could be found corresponding to that specified by th EINVAL the thread th is already in the detached state AUTHOR
Xavier Leroy <Xavier.Leroy@inria.fr> SEE ALSO
pthread_create(3), pthread_join(3), pthread_attr_setdetachstate(3) LinuxThreads PTHREAD_DETACH(3)
All times are GMT -4. The time now is 11:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy