03-04-2015
Request: Move thread to a different subforum
Hi,
I've just posted a new thread on the "IP Networking" subforum, with the subject "Check connectivity with multiple hosts - BASH script available here".
However, I think it should be on the "Shell Programming and Scripting" subforum, could you please move that thread there?
Thanks!
5 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi there,
Does anyone know how I can move a posting from one forum into another.
I believe I posted one in the wrong forum, but have no idea how to move it.
I don't want to ask the same question in multiple forums.
Thanks (4 Replies)
Discussion started by: goodjuju
4 Replies
2. Post Here to Contact Site Administrators and Moderators
kindly move this thread:
https://www.unix.com/unix-dummies-questions-answers/176868-get-all-strings-after-equal-sign.html
to Shell Programming and Scripting...created in wrong forum...
thanks!!! (0 Replies)
Discussion started by: h0ujun
0 Replies
3. Post Here to Contact Site Administrators and Moderators
Good Afternoon,
The following post "how-get-program-name-produced-io-error-redirected-log-nohup-command" is already answered. You can go ahead and close it. Thanks for your help.
Best regards. (1 Reply)
Discussion started by: enriquegm82
1 Replies
4. Post Here to Contact Site Administrators and Moderators
I am not getting reply of my post :Switching between Linux and Windows OS in Linux forum. How to move the thread to a different forum like: "Windows & DOS: Issues & Discussions"? (1 Reply)
Discussion started by: ravisingh
1 Replies
5. Shell Programming and Scripting
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
LEARN ABOUT SUNOS
pthread_detach
pthread_detach(3C) pthread_detach(3C)
NAME
pthread_detach - detach a thread
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_detach(pthread_t thread);
The pthread_detach() function is used to indicate to the implementation that storage for the thread thread can be reclaimed when that
thread terminates. In other words, pthread_detach() dynamically resets the detachstate attribute of the thread to PTHREAD_CRE-
ATE_DETACHED. After a successful call to this function, it would not be necessary to reclaim the thread using pthread_join(). See
pthread_join(3C). If thread has not terminated, pthread_detach() will not cause it to terminate. The effect of multiple pthread_detach()
calls on the same target thread is unspecified.
If successful, pthread_detach() returns 0. Otherwise, an error number is returned to indicate the error.
The pthread_detach() 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.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
pthread_create(3C), pthread_join(3C), attributes(5), standards(5)
23 Mar 2005 pthread_detach(3C)