Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Please close the following threads:) Post 302973663 by Don Cragun on Thursday 19th of May 2016 07:47:50 PM
Old 05-19-2016
Hello gull05,
Threads close themselves after a period of time with no activity. We generally only force a thread to close if it is a duplicate thread, spam (which will be closed and removed), a mis-filed homework assignment, or some other violation of forum rules.

If is important to mark threads resolved when you get a satisfactory resolution to your questions. (And, both of these threads have been marked solved.)

If you didn't mark them yourself, the way to do that is to follow the directions in the Tags frame just under the title of the thread on every page of the display for that thread. Hit the Edit Tags button at the top right of that frame, add a solved tag (and any other tags that specify the nature of the problem and the tools that were used to resolve it, and then hit the Save Changes button in the Tags editing window.
These 2 Users Gave Thanks to Don Cragun For This Post:
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

How to close a thread

Hi Dumb question I know but I am new to this forum and have looked every where on this site but can not find "How to close" a thread I have posted.... Please advise on the procedures. Thanks Andrek (3 Replies)
Discussion started by: Andrek
3 Replies

2. UNIX and Linux Applications

any way to close socket

I have written a socker program. I have executed that program many times without closing the socket. So I want to find which all sockets binded with which file descriptor. Is there any way to close those socket, which have been opened in that program's execution. please help me!.. (3 Replies)
Discussion started by: pa.chidhambaram
3 Replies

3. UNIX for Advanced & Expert Users

Threads and Threads Count ?

Hi all, How can I get the list of all Threads and the Total count of threads under a particular process ? Do suggest !! Awaiting for the replies !! Thanks Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies

4. Post Here to Contact Site Administrators and Moderators

How to close account

Hi, I want to close my account and cannot find any relevant links in the user control panel or account preferences. Can someone point me in the right direction, or a moderator/admin close this account? Thanks. (1 Reply)
Discussion started by: glen.barber
1 Replies

5. Programming

when parent process close, how to close the child?

can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies

6. Post Here to Contact Site Administrators and Moderators

Why close my ask?

Hello, Why close my ask "How to implement a semaphore with pedestrian pushbutton" i'm autodidact, so i don't understand why you dedice close it. I put the ask about Java (the language what i'm learning in spanish forum becouse my english is not good) but some body told me that this is the... (1 Reply)
Discussion started by: NewBe
1 Replies

7. Post Here to Contact Site Administrators and Moderators

Please close this account

Hi admins and moderators! I would request you to please close this account as I will not be using it ever. Thank you all. Ravi Singh (1 Reply)
Discussion started by: Ravi Singh
1 Replies
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.11 27 Mar 2000 thr_join(3C)
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy