05-20-2015
Please open a new thread for a new question.
This User Gave Thanks to Scott For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey everyone
I'm new to UNIX due to the new Mac OS X operating system and would like some help. I'm trying to send an email via the UNIX-Shell-Terminal i Mac OS X, (it's called darwin)
How do I do that? When I enter the Command mail I can send messages to root and with the command -forward... (4 Replies)
Discussion started by: onkel
4 Replies
2. UNIX for Dummies Questions & Answers
Quick question:
When I load up Terminal or X-Windows on my Mac, and the prompt comes up...what folder am I starting in? (2 Replies)
Discussion started by: liquidcross
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I want to send email from unix terminal on Mac OS 10.x. I have 2 user accounts on the system - userOne and root. I tried sending an email from userOne to root by entering "mail root". It prompts to enter Subject and the content. It doesn't give any error message, but root doesn't get... (0 Replies)
Discussion started by: hypamw
0 Replies
4. UNIX for Dummies Questions & Answers
Hey all..
I have a problem with the BitTorrent client called Deluge. (Deluge BitTorrent Client). Followed the guide on their homepage, but can't get it to work.
First of all I have installed Xcode Tools 3.0 and MacPorts. I did the "sudo port install deluge" command, and all packages seemed to... (1 Reply)
Discussion started by: Sixmax
1 Replies
5. OS X (Apple)
Hi everyone. I'm new to using the Terminal and was just wondering if anyone had a link to perhaps a list of commands. And tips on some useful websites to visit or books to read.
Oh and is there a way to delete just part of the Terminal's history? If so what is the command?
Thanks :) (2 Replies)
Discussion started by: xsemperidem5
2 Replies
6. UNIX for Dummies Questions & Answers
I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies
7. Shell Programming and Scripting
Hi,
I am new for SVN. Earlier I have been using CVS. When I checkout the code from SVN using Eclipse, the size of the source code checked out is 612MB. But when I try to checkout from terminal, from my 5.8 branch , the checked out source code's size is only 312.1 MB.
Can anyone tell me... (0 Replies)
Discussion started by: Afreen
0 Replies
8. UNIX for Advanced & Expert Users
Is there a trick to closing a mac terminal with a command? I would think you could just type exit into your terminal but that doesn't work. I also tried quit and close just for the hell of it and that didn't work either. Does anyone know what the command is? (1 Reply)
Discussion started by: cokedude
1 Replies
9. OS X (Apple)
So found this C code online and need to compile it in Terminal on Mac.
Here is the code:
#include <stdio.h>
#include <math.h>
int option;
char q;
int number;
int currentsum;
int value;
void calc()
{
printf("\t\t\t\t\tBegin\n"); // says begin in top middle of screen
... (3 Replies)
Discussion started by: 1negroup
3 Replies
10. UNIX for Beginners Questions & Answers
Hi everyone I am a complete beginner and already confused. the instructor has step by step directions for students on PC to download putty and do it that way. He neglects mac unfortunately. I attached the documents that instructs students how to do it. maybe you could read it and guide me? Iv done... (3 Replies)
Discussion started by: Beavs410
3 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