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_getspecific(3) Library Functions Manual pthread_getspecific(3)NAME
pthread_getspecific - Obtains the thread-specific data associated with the specified key.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
void *pthread_getspecific(
pthread_key_t key);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
PARAMETERS
The context key identifies the thread-specific data to be obtained.
DESCRIPTION
This routine obtains the thread-specific data associated with the specified key for the current thread. Obtain this key by calling the
pthread_key_create(3) routine. This routine returns the value currently bound to the specified key on behalf of the calling thread.
This routine may be called from a thread-specific data destructor function.
RETURN VALUES
No errors are returned. This routine returns the thread-specific data value associated with the specified key argument. If no thread-spe-
cific data value is associated with key, or if key is not defined, then this routine returns a NULL value.
RELATED INFORMATION
Functions: pthread_key_create(3), pthread_setspecific(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_getspecific(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)