09-29-2012
We are going to put each one of these seven lessons into it's own thread and then see if we can get a discussion going on each (improvements, suggestions, errors, etc.) - Maybe we'll make a new (better?) set?
This User Gave Thanks to Neo For This Post:
4 More Discussions You Might Find Interesting
1. Solaris
Hi everyone,
I'm looking to hire for private lessons a individual who is presently working as a unix system administrator or instructor in school who is teaching unix. I live in Clifton nj my nubmer is Cell **no phonenumbers on this forum** or email
**no emails on this forum** please let me... (1 Reply)
Discussion started by: john furman
1 Replies
2. Programming
I started wrting c lessons for absoulute begginers to advanced users, I think material can be considered quality, and my students learn programming with this stuff. If you wish feel free to start reading it here:
www.visualcmaniac.com
its only 5 lessons for now so maybe could be easier for... (4 Replies)
Discussion started by: vurdlak
4 Replies
3. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
4. What is on Your Mind?
Lesson 1:
A man is getting into the shower just as his wife is finishing up her shower, when the doorbell rings.
The wife quickly wraps herself in a towel and runs downstairs.
When she opens the door, there stands Bob, the next-door neighbour.
Before she says a word, Bob says, 'I'll... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT REDHAT
pthread_detach
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)