09-06-2012
Hi lyle,
I see beta17 has joined this thread; this is someone who's actually done it albeit in the reverse direction.
I also see jlliagre on the thread too. Vast experience.
This shows the power of a good forum. You have comprehensive firepower available to help you with a lot of expertise if you decide to give it a go.
And that doesn't include moderators!!!
6 More Discussions You Might Find Interesting
1. Solaris
We are concluding development of a new application on a v240 and would like to migrate the entire Solaris10 OS on the v240 to a v440 that is currently live with Solaris 9.
The steps outlined in my head are as follows:
1) Flash archive the v440 and v240 and store the flar file on a different... (6 Replies)
Discussion started by: dangral
6 Replies
2. Shell Programming and Scripting
Hi Dears,
I have one script to create new users with information in one plain text file. This script will read all lines in the file and create one users for one line.
Sample file:
#action;login,full name title,expire date,project
+;gmwen,Bruce Wen QA,04/01/2012,BT
+;xxdeng,Shown Deng... (4 Replies)
Discussion started by: crest.boy
4 Replies
3. Solaris
Dears how can i make this spare disks working online to replace a defective disks
vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t10d0s2 sliced - - error
c0t11d0s2 sliced disk08 rootdg online
c1t16d0s2 sliced ... (3 Replies)
Discussion started by: thecobra151
3 Replies
4. Solaris
Hot swapping a drive on V240.
So, I do cfgadm -c unconfigure <disk>. Then cfgadm -al reports disk as unconfigured as expected.
format then tells me there is no disk.
BUT, blue light does not come on. Done the exact same command on my V440 and blue light does come on.
V240 Server Admin... (0 Replies)
Discussion started by: psychocandy
0 Replies
5. Programming
Iam Trying to simulate a hardware "pci" by visual c++ program.....
" i don't have the hardware right now so i want to test my program"
the hardware is about to inter a number for example from switches compare it to other number also from switches.."which iam gonna take it from 1 textbox"...
1-... (0 Replies)
Discussion started by: fwrlfo
0 Replies
6. Solaris
Our SunFire 480 - one of the boot disks failed. It is mirrored with VxVm. I followed the exact steps that is detailed in the veritas and sun guides (I can not post the URL since I don't have 5 posts yet.)
After removing the failed disk, I ran devfsadm -C -c disk and it still shows the device... (7 Replies)
Discussion started by: jtamminen
7 Replies
LEARN ABOUT SUSE
pthread_detach
PTHREAD_DETACH(3) Linux Programmer's Manual PTHREAD_DETACH(3)
NAME
pthread_detach - detach a thread
SYNOPSIS
#include <pthread.h>
int pthread_detach(pthread_t thread);
Compile and link with -pthread.
DESCRIPTION
The pthread_detach() function marks the thread identified by thread as detached. When a detached thread terminates, its resources are
automatically released back to the system without the need for another thread to join with the terminated thread.
Attempting to detach an already detached thread results in unspecified behavior.
RETURN VALUE
On success, pthread_detach() returns 0; on error, it returns an error number.
ERRORS
EINVAL thread is not a joinable thread.
ESRCH No thread with the ID thread could be found.
CONFORMING TO
POSIX.1-2001.
NOTES
Once a thread has been detached, it can't be joined with pthread_join(3) or be made joinable again.
A new thread can be created in a detached state using pthread_attr_setdetachstate(3) to set the detached attribute of the attr argument of
pthread_create(3).
The detached attribute merely determines the behavior of the system when the thread terminates; it does not prevent the thread from being
terminated if the process terminates using exit(3) (or equivalently, if the main thread returns).
Either pthread_join(3) or pthread_detach() should be called for each thread that an application creates, so that system resources for the
thread can be released. (But note that the resources of all threads are freed when the process terminates.)
EXAMPLE
The following statement detaches the calling thread:
pthread_detach(pthread_self());
SEE ALSO
pthread_attr_setdetachstate(3), pthread_cancel(3), pthread_create(3), pthread_exit(3), pthread_join(3), pthreads(7)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-11-27 PTHREAD_DETACH(3)