09-03-2009
metyhyl -
consider the report button, too.
Cited thread thread closed.
6 More Discussions You Might Find Interesting
1. Cybersecurity
Hiya all,
Newbie here - hope you can help
Trying to set up a login authorization on my website.
Reading away - it says works well with MySql database. Apache book goes onto to explain how to install Mysql etc....
But How do I set up the login page tho?
Please assist
Cheers... (5 Replies)
Discussion started by: marty 600
5 Replies
2. Programming
Hello Experts,
I am beginner to C language..
I know I am making a simple mistake but I dont know what the problem here
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
FILE* fh;
char s;
int i;
int count =10;
double a,b;
printf("COUNT=... (6 Replies)
Discussion started by: user_prady
6 Replies
3. Shell Programming and Scripting
Hi,
Please help me in the below:
I am trying to sort it in date order but I am failing somewhere L . Can anyone please help me on this? Your help is most appreciated on this.
$ autorep -j EDSPME% | grep ' OI' | grep -v '^ ' |awk '{print $4 " " $1}'| sort -r -t/ -k 3 -k 2 -k 1
04/29/2008... (1 Reply)
Discussion started by: christineida
1 Replies
4. Shell Programming and Scripting
Hi Folks,
I need to compare two very huge file ( i.e the files would contain a minimum of 70k records each) using awk or sed. The comparison needs to be done with respect to a 'key'. For example :
File1
**********
1234|TONY|Y75634|20/07/2008
1235|TINA|XCVB56|30/07/2009... (13 Replies)
Discussion started by: Ranjani
13 Replies
5. Programming
I'm new to GTK development, so I've been going through the examples just to capture the basics. I've done a lot of Unix GUI development before, but it was all Xt/Motif stuff. So, the GTK scheduler is something new to me.
That said, I was going through the color selection example here, and was... (8 Replies)
Discussion started by: DreamWarrior
8 Replies
6. Shell Programming and Scripting
I need some assistance with respect to perl script for checking files.
I have near about 100 path for which I need to check whether the give path does have file or not .
I have created a script but it is not working the way I want
My requirement is :-
Script should check if the file exist... (2 Replies)
Discussion started by: bharats08
2 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)