pthread_getsequence_np(3) Library Functions Manual pthread_getsequence_np(3)NAME
pthread_getsequence_np - Obtains the unique identifier for the specified thread.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
unsigned long pthread_getsequence_np(
pthread_t thread);
STANDARDS
None
PARAMETERS
Thread object whose sequence number is to be obtained.
DESCRIPTION
This routine obtains and returns the DECthreads thread sequence number for the thread identified by the thread object specified in the
thread argument.
The thread sequence number provides a unique identifier for each existing thread. A thread's thread sequence number is never reused while
the thread exists, but can be reused after the thread terminates. The debugger interfaces use this sequence number to identify each thread
in commands and in display output.
The result of calling this routine is undefined if the thread argument does not specify a valid thread object.
RETURN VALUES
No errors are returned. This routine returns the DECthreads thread sequence number for the thread identified by the thread object speci-
fied in the thread argument. The result of calling this routine is undefined if the thread argument does not specify a valid thread.
ERRORS
None
RELATED INFORMATION
Functions: pthread_create(3), pthread_self(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_getsequence_np(3)
Check Out this Related Man Page
pthread_setname_np(3) Library Functions Manual pthread_setname_np(3)NAME
pthread_setname_np - Changes the object name in the thread object for an existing thread.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
int pthread_setname_np(
pthread_thread_t thread,
const char *name,
void *mbz);
PARAMETERS
Thread object whose object name is to be changed. Object name value to copy into the thread object. Reserved for future use. The value
must be zero (0).
DESCRIPTION
This routine changes the object name in the thread object specified by thread to the value specified by name. To set an existing thread's
object name, call this routine after creating the thread. However, with this approach your program must account for the possibility that
the target thread has already exited or has been canceled before this routine is called.
The object name is a C language string and provides an identifier that is meaningful to a person debugging a DECthreads-based multithreaded
application. The maximum number of characters in the object name is 31.
This routine contrasts with pthread_attr_setname_np, which changes the object name attribute in a thread attributes object that is used to
create a new thread.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The thread specified by thread does not exist. The length in characters of name exceeds 31. Insufficient memory
exists to create a copy of the object name string.
ERRORS
None
RELATED INFORMATION
Functions: pthread_getname_np(3), pthread_attr_setname_np(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_setname_np(3)
Hello All:
I left an important file on my computer in Montana (I'm in Arizona). It is running Mac OS 10.2.7. For some reason it appears file sharing is off, I don't understand how that happened because I have logged in remotely before. Can someone please tell me if there is any way to use... (7 Replies)
Hi all,
I got this piece of code in this forum and I can't seem to get it work. The thread already closed so I just post a new thread.
#!/usr/bin/ksh
ftp -v -n "YOUR.IP.ADD.RESS" << cmd
user "user" "passwd"
cd /distant/directory
lcd /local/directoryget ssh_install
get ( or put) your... (4 Replies)
Discussion started by: CamTu
4 Replies
3. Post Here to Contact Site Administrators and Moderators
Dear admins,
i remember, my first thread, it is regarding unix systems and i asked some suggestions...
and i like to know how gollum answered for that thread?..
and is gollum is a program?.. (5 Replies)
wasn't sure if this should have a new thread since I'm still working on the same job I asked a question about earlier. But it's a different problem/question so I guess it deserves a new thread....
I have a log with roughly 10000 lines in it, each one has a timestamp. The problem is, the time... (8 Replies)
Discussion started by: StevePace
8 Replies
5. Post Here to Contact Site Administrators and Moderators
Dear All,
Please to be inform you,I have posted one thread on this forum last 5 days back. I was not getting suggestions for my thread. So i am creating a new thread with detailed of my R&D.
I am new in Shell Scripts, Perl and Cron Jobs. I have one requirement in Cron jobs for FTP Download.... (5 Replies)
Discussion started by: moorthygs
5 Replies
7. Post Here to Contact Site Administrators and Moderators
I used take thread dump when our application gets out of memory issue.
can any one help on check thread dump result.
where it will save tool to read thread dump.:wall:
date; kill -3 process_id; sleep 300; kill -3 process_id; sleep 300; kill -3 process_id;date (5 Replies)
Hi
For our load testing , we are using stubs (unix shell script) which send the response to the request coming from the application. As the unix stub is single threaded , it is responding to only one request whereas multiple requests come in parallely.
I haven't worked on thread concepts... (5 Replies)
Hello,
This is my first post and I would be very thankful if you can help me. I've already searched in the forum and I've found a very similar thread in wich my problem is solved, but the thread is closed and the solution given in it doesn't work in my shell:
153194-problem-quitting-sqlplus
... (11 Replies)
Hello all,
I am a new ubuntu user (have to use it for work) and I am trying to learn and familiarize myself with commands that I will be using frequently.
I would like some help in how I can get a list of all files with certain keywords in the filename.
For example, I have a directory... (8 Replies)
Thanks Ravinder for quick reply.Thats work.
One more thing if i want to extract something based on paranthesis....can you help.
Input:
exp1:
CREATE TABLE
(
A,
B,
C
)
o/p exp1:
A,
B,
C
exp2: (7 Replies)