05-27-2007
I am closing this thread for the following reasons:
(1) I believe it to be homework.
(2) You didn't use the search function.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Dos someone know of a simple phone dialer I can use to paste in a phone number, and dial it? It's a lazy habit I got into using Dos, and Windows.
Sonshyne5 (10 Replies)
Discussion started by: Sonshyne5
10 Replies
2. AIX
We have a 7028 p series server that has a lapsed hardware service contract, and I was attempting to create a billable tech support phone call, and IBM said that they do on site billable only. Is anybody out there aware of reputable third party support companies I might be able to contact. I have... (7 Replies)
Discussion started by: markper
7 Replies
3. Shell Programming and Scripting
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies
4. Shell Programming and Scripting
Hi!
I have created on script which is working fine with menu options and with a sub-menu.
I want to enhance it by using sub-options under menu options.
Like.
option 1) will give the list only.
option 1.1) should give the option to user to choose one file, whose content user wanna see. ... (3 Replies)
Discussion started by: sukhdip
3 Replies
5. Shell Programming and Scripting
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies
6. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 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