02-13-2006
This thread is a duplicate of another thread in the HP-UX forum. Moderators, please lock this thread.
mhbd, please do not post duplicate threads. It is against the rules.
10 More Discussions You Might Find Interesting
1. HP-UX
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
2. HP-UX
Hello, i trying to get HP-UX 11i v2 for PA-RISC. I`im to poor to buy this system, so I`am asking that someone can help me.
best regards
email removed (1 Reply)
Discussion started by: mruczas
1 Replies
3. HP-UX
Hi,
could somebody confirm that HP 11i 64 is a 64 bits system ?
Thank you (1 Reply)
Discussion started by: aribault
1 Replies
4. HP-UX
Hi,
Newbie here......I am an new guy on HP-Ux... may i ask all the the guru's and who has eperienced here to enlightened me on how to use the CSTM command.
My goal is to view the current HW installed on the Server.
Thanks in advance. (1 Reply)
Discussion started by: renobal
1 Replies
5. HP-UX
Hi,
I've entered the HP-UX 11i server in single user mode, and increased the filesystem /usr by mistake using
lvextend -l 3092 /dev/vg00/lvol7
extendfs /dev/vg00/rlvol7
I put small letter "l" instead of "L".
and as a result of this mistake the /usr take all the free space in the volume... (2 Replies)
Discussion started by: elshamy_s
2 Replies
6. HP-UX
Could you please tell me if Informix 7.20 UD2 works on HP-UX 11i and if applications that works on HP-UX 10.20 and Informix 7.20 UD2 works on HP-UX 11i. Thanks a lot. (0 Replies)
Discussion started by: Irene Martínez
0 Replies
7. HP-UX
Hey,
i want install HP UX 11i on HP C8000. When i start the C8000 i get a prompt. On this Prompt i write
BOot P1
P1 is my DVD-ROM (IDE). I get the Message "ERROR: Not a boot path". When i write SEArch the Prompt said:
P0 scsiA.6 HP73.4MAT3073NP
P1 ide.1 ... (2 Replies)
Discussion started by: numx
2 Replies
8. HP-UX
Hi,
I want to install HP 11i v3 OS on PA-RISC systems, which already have HP11i v1 operating system. I want to know that what are software and hardware requirements I will need for doing this?
Thanks in Advance
Mike (1 Reply)
Discussion started by: Mike1234
1 Replies
9. HP-UX
I have to access to hp integrity bl870c server blade and i have no hp-ux 11i v2 or 11i v3 DVD's where can i get a DVD or download it . as i have no direct contact with vendor .
thanks (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
10. HP-UX
Hey guys how do you run eclipse on HP-UX 11i?
there's a startup.jar and an eclipse file ( which is not an executable )
I get different errors try to run the jar file with different java versions.
I have all the possible java vm's installed. (0 Replies)
Discussion started by: binary0x01
0 Replies
LEARN ABOUT SUNOS
thr_join
thr_join(3C) Standard C Library Functions thr_join(3C)
NAME
thr_join - wait for thread termination
SYNOPSIS
cc -mt [ flag... ] file...[ library... ]
#include <thread.h>
int thr_join(thread_t thread, thread_t *departed, void **status);
DESCRIPTION
The thr_join() function suspends processing of the calling thread until the target thread completes. The thread argument must be a member
of the current process and cannot be a detached thread. See thr_create(3C).
If two or more threads wait for the same thread to complete, all will suspend processing until the thread has terminated, and then one
thread will return successfully and the others will return with an error of ESRCH. The thr_join() function will not block processing of the
calling thread if the target thread has already terminated.
If a thr_join() call returns successfully with a non-null status argument, the value passed to thr_exit(3C) by the terminating thread will
be placed in the location referenced by status.
If the target thread ID is 0, thr_join() finds and returns the status of a terminated undetached thread in the process. If no such thread
exists, it suspends processing of the calling thread until a thread for which no other thread is waiting enters that state, at which time
it returns successfully, or until all other threads in the process are either daemon threads or threads waiting in thr_join(), in which
case it returns EDEADLK. See NOTES.
If departed is not NULL, it points to a location that is set to the ID of the terminated thread if thr_join() returns successfully.
RETURN VALUES
If successful, thr_join() returns 0. Otherwise, an error number is returned to indicate the error.
ERRORS
EDEADLK A joining deadlock would occur, such as when a thread attempts to wait for itself, or the calling thread is waiting for any
thread to exit and only daemon threads or waiting threads exist in the process.
ESRCH No undetached thread could be found corresponding to the given thread ID.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
thr_create(3C), thr_exit(3C), wait(3C), attributes(5), standards(5)
NOTES
Using thr_join(3C) in the following syntax,
while (thr_join(0, NULL, NULL) == 0);
will wait for the termination of all non-daemon threads, excluding threads that are themselves waiting in thr_join().
SunOS 5.10 27 Mar 2000 thr_join(3C)