Windows blows. I'm poor so unix is looking like a great alterative (expecially after my former roommate showed me most of the things it can do). Right now I'm looking at Debian or some other Unix kernel that would run nicley on my computer.
But the problem we had with installing it while he was... (3 Replies)
Discussion started by: beardsman
3 Replies
2. Forum Support Area for Unregistered Users & Account Problems
How to post a new thread (Regarding Unix related doubts) in Unix Forums.
I registered my id but I am unable to post my Questions to Forum.
Thanks & Regards,
indusri (1 Reply)
Hi,
I have a simulation program which creates two threads and I would like to know if I can measure the time of each individual thread. Threads communicate (I use pthread to manage them) and I want to measure communication time. I found a solution with clock_gettime and CLOCK_THREAD_CPUTIME_ID... (32 Replies)
Hi This is continuation of previos thread
status=running
username=abc
password=123456
server=linux
The script was made which is used to capture the data from file
./scr test status
It will give result running
I have a case like
status = running
username=abc
password=123456... (14 Replies)
Assume that 100 file's of type .txt are saved in directory
in which,
40 .txt files having ID 225 in column x
10 .txt files having ID 220 in column x
30 .txt files having ID 115 in column x
and remaining 20 .txt file's having UNIQUE ID say 226,227,228,229,230....first I want to read only files... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies
7. Forum Support Area for Unregistered Users & Account Problems
If one enters a Google search query like
site:unix.com mysql php
and clicks on the resulting link, one gets the message below:
vBulletin Message
No Thread specified. If you followed a valid link, please notify the administrator (2 Replies)
Discussion started by: Unregistered
2 Replies
LEARN ABOUT OSF1
pthread_getsequence_np
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)