Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvm_gettid(3pvm) [debian man page]

GETTID(3PVM)							  PVM Version 3.4						      GETTID(3PVM)

NAME
pvm_gettid - Returns the tid of the process identified by a group name and instance number. SYNOPSIS
C int tid = pvm_gettid( char *group, int inum ) Fortran call pvmfgettid( group, inum, tid ) PARAMETERS
group Character string that contains the name of an existing group. inum Integer instance number of the process in the group. tid Integer task identifier returned. DESCRIPTION
The routine pvm_gettid returns the tid of the PVM process identified by the group name group and the instance number inum. If pvm_gettid is successful, tid will be > 0. If some error occurs then tid will be < 0. EXAMPLES
C: tid = pvm_gettid("worker",0); Fortran: CALL PVMFGETTID('worker',5,TID) ERRORS
These error conditions can be returned by pvm_gettid. PvmSysErr Can not contact the local pvmd; most likely it is not running. PvmBadParam Bad Parameter most likely a NULL character string. PvmNoGroup No group exists by that name. PvmNoInst No such instance in the group. SEE ALSO
pvm_joingroup(3PVM), pvm_getinst(3PVM) 30 August, 1993 GETTID(3PVM)

Check Out this Related Man Page

GETTID(3PVM)							  PVM Version 3.4						      GETTID(3PVM)

NAME
pvm_gettid - Returns the tid of the process identified by a group name and instance number. SYNOPSIS
C int tid = pvm_gettid( char *group, int inum ) Fortran call pvmfgettid( group, inum, tid ) PARAMETERS
group Character string that contains the name of an existing group. inum Integer instance number of the process in the group. tid Integer task identifier returned. DESCRIPTION
The routine pvm_gettid returns the tid of the PVM process identified by the group name group and the instance number inum. If pvm_gettid is successful, tid will be > 0. If some error occurs then tid will be < 0. EXAMPLES
C: tid = pvm_gettid("worker",0); Fortran: CALL PVMFGETTID('worker',5,TID) ERRORS
These error conditions can be returned by pvm_gettid. PvmSysErr Can not contact the local pvmd; most likely it is not running. PvmBadParam Bad Parameter most likely a NULL character string. PvmNoGroup No group exists by that name. PvmNoInst No such instance in the group. SEE ALSO
pvm_joingroup(3PVM), pvm_getinst(3PVM) 30 August, 1993 GETTID(3PVM)
Man Page

6 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

what a bunch of idiots...

http://slashdot.org/article.pl?sid=04/01/15/2349201&mode=thread&tid=126&tid=155&tid=95&tid=99 (1 Reply)
Discussion started by: norsk hedensk
1 Replies

2. News, Links, Events and Announcements

Mozilla fire...uh whatever

http://slashdot.org/article.pl?sid=04/03/27/0250250&mode=thread&tid=126&tid=154&tid=95 (0 Replies)
Discussion started by: norsk hedensk
0 Replies

3. News, Links, Events and Announcements

hey! i took that!.....

http://developers.slashdot.org/article.pl?sid=04/05/05/2140200&mode=thread&tid=108&tid=126&tid=146&tid=156&tid=99 (0 Replies)
Discussion started by: norsk hedensk
0 Replies

4. News, Links, Events and Announcements

Linux use in the US Government

http://slashdot.org/article.pl?sid=04/06/24/0135208&mode=thread&tid=106&tid=185 (0 Replies)
Discussion started by: norsk hedensk
0 Replies

5. Programming

PThread liberary doubt

I would like to ask that PrintHello accepts a void pointer but how come you can equate it to an integer directly ? " tid = (int)threadid; " while at the same time instead if a pointer a normal variable was passed into this function " pthread_create(&threads, NULL, PrintHello, (void *)t); " ... (2 Replies)
Discussion started by: digi123
2 Replies

6. Shell Programming and Scripting

Cut string from a line into a variable

Hi, I am working on a ksh script and I´m stuck on the following: I have to get the pthread_id from a procstack file for a particular tid#. ---------- tid# 1274057 (pthread ID: 1800) ---------- ---------- tid# 1736913 (pthread ID: 4019) ---------- ---------- tid# 1478705 (pthread ID: ... (7 Replies)
Discussion started by: tmf33uk
7 Replies