11-25-2008
no homework! thread closed.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a few questions to be answered.Please help me out in this.Its urgent.
1) what does ' $* ' mean, what does it do ?
2) Command to change UNIX Password.
3) What is Daemon processes ?
4) How do u execute a Unix command or process in the background ?
5) What is nohup ?
6) Difference... (6 Replies)
Discussion started by: uni_ajay_r
6 Replies
2. Shell Programming and Scripting
First off, I am using Mac OS X, with Apple Remote Desktop.
I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's)
To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of... (4 Replies)
Discussion started by: The Reepr
4 Replies
3. UNIX for Dummies Questions & Answers
1, why Boot server should be in a network in jumpstart?
2, what is the different between patch and package?
3, how to list the avilable NIC in solaris9?
4, User complaing system is slow (solaris) what are the steps to check?
5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies
4. Shell Programming and Scripting
I need to write a script to telnet or ssh a device the execute some commands in device then copy the output in a file, I wrote the script but I faced one issue, when you execute some commands the device asked me a Question, for example :
device # copy run tftp
device # Source filename ?
... (3 Replies)
Discussion started by: DarkSoul
3 Replies
5. Solaris
As i'm going to attend my first interview day after tomorrow,
What should i need to answer if the interviewer asked me about
1. Tell me about your production environment.
2. What about your team size?
3. Tell me about the most critical situation/issue you have ever faced.
Can any... (10 Replies)
Discussion started by: Sesha
10 Replies
6. UNIX for Dummies Questions & Answers
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you, :)
If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security... (0 Replies)
Discussion started by: linux17
0 Replies
7. UNIX for Dummies Questions & Answers
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you, :)
1. Make sure there is no filename1.txt in current directory first. Now, enter vi with "vi filename1.txt" command. vi... (4 Replies)
Discussion started by: linux17
4 Replies
8. Solaris
Hello :) !
i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?
2) how to change port number of a service ?
3) how can we find that autofs is running in our system without using
svcs and prstat commands ?
4) we know that there are several types of dns servers in... (0 Replies)
Discussion started by: vamshigvk475
0 Replies
LEARN ABOUT MOJAVE
pthread_join
PTHREAD_JOIN(3) BSD Library Functions Manual PTHREAD_JOIN(3)
NAME
pthread_join -- wait for thread termination
SYNOPSIS
#include <pthread.h>
int
pthread_join(pthread_t thread, void **value_ptr);
DESCRIPTION
The pthread_join() function suspends execution of the calling thread until the target thread terminates unless the target thread has already
terminated.
On return from a successful pthread_join() call with a non-NULL value_ptr argument, the value passed to pthread_exit() by the terminating
thread is stored in the location referenced by value_ptr. When a pthread_join() returns successfully, the target thread has been terminated.
The results of multiple simultaneous calls to pthread_join() specifying the same target thread are undefined. If the thread calling
pthread_join() is cancelled, then the target thread is not detached.
RETURN VALUES
If successful, the pthread_join() function will return zero. Otherwise, an error number will be returned to indicate the error.
ERRORS
The pthread_join() 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, thread.
[EDEADLK] A deadlock was detected or the value of thread specifies the calling thread.
SEE ALSO
wait(2), pthread_create(3)
STANDARDS
The pthread_join() function conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD
January 23, 2010 BSD