Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvm_setrbuf(3pvm) [debian man page]

SETRBUF(3PVM)							  PVM Version 3.4						     SETRBUF(3PVM)

NAME
pvm_setrbuf - Switches the active receive buffer and saves the previous buffer. SYNOPSIS
C int oldbuf = pvm_setrbuf( int bufid ) Fortran call pvmfsetrbuf( bufid, oldbuf ) PARAMETERS
bufid Integer specifying the message buffer identifier for the new active receive buffer. oldbuf Integer returning the message buffer identifier for the previous active receive buffer. DESCRIPTION
The routine pvm_setrbuf switches the active receive buffer to bufid and saves the previous active receive buffer oldbuf. If bufid is set to 0 then the present active receive buffer is saved and no active receive buffer exists. A successful receive automatically creates a new active receive buffer. If a previous receive has not been unpacked and needs to be saved for later, then the previous bufid can be saved and reset later to the active buffer for unpacking. The routine is required when managing multiple message buffers. For example switching back and forth between two buffers. One buffer could be used to send information to a graphical interface while a second buffer could be used send data to other tasks in the application. EXAMPLES
C: rbuf1 = pvm_setrbuf( rbuf2 ); Fortran: CALL PVMFSETRBUF( NEWBUF, OLDBUF ) ERRORS
These error conditions can be returned by pvm_setrbuf PvmBadParam giving an invalid bufid. PvmNoSuchBuf switching to a non-existent message buffer. SEE ALSO
pvm_setsbuf(3PVM) 30 August, 1993 SETRBUF(3PVM)

Check Out this Related Man Page

SETRBUF(3PVM)							  PVM Version 3.4						     SETRBUF(3PVM)

NAME
pvm_setrbuf - Switches the active receive buffer and saves the previous buffer. SYNOPSIS
C int oldbuf = pvm_setrbuf( int bufid ) Fortran call pvmfsetrbuf( bufid, oldbuf ) PARAMETERS
bufid Integer specifying the message buffer identifier for the new active receive buffer. oldbuf Integer returning the message buffer identifier for the previous active receive buffer. DESCRIPTION
The routine pvm_setrbuf switches the active receive buffer to bufid and saves the previous active receive buffer oldbuf. If bufid is set to 0 then the present active receive buffer is saved and no active receive buffer exists. A successful receive automatically creates a new active receive buffer. If a previous receive has not been unpacked and needs to be saved for later, then the previous bufid can be saved and reset later to the active buffer for unpacking. The routine is required when managing multiple message buffers. For example switching back and forth between two buffers. One buffer could be used to send information to a graphical interface while a second buffer could be used send data to other tasks in the application. EXAMPLES
C: rbuf1 = pvm_setrbuf( rbuf2 ); Fortran: CALL PVMFSETRBUF( NEWBUF, OLDBUF ) ERRORS
These error conditions can be returned by pvm_setrbuf PvmBadParam giving an invalid bufid. PvmNoSuchBuf switching to a non-existent message buffer. SEE ALSO
pvm_setsbuf(3PVM) 30 August, 1993 SETRBUF(3PVM)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

active machine

HI can any one please tell me how to find the active machine in active/standby architecture , (0 Replies)
Discussion started by: Raom
0 Replies

2. UNIX for Dummies Questions & Answers

How to display first 7 char of grep results?

My file contains the following: uat2000.aspclient.active=true uat2001.aspclient.active=true uat2002.aspclient.active=true uat2003.aspclient.active=true uat2004.aspclient.active=false uat2005.aspclient.active=false uat2006.aspclient.active=false uat2007.aspclient.active=false... (8 Replies)
Discussion started by: kthatch
8 Replies

3. UNIX for Dummies Questions & Answers

setup active directory

i would like to ask about unix with active directory..actually my situation is at ny place there already have dns server in unix based,i want to implement an active directory to the network..from what i read about active directory we have to used bind dns...some say that bind could not handle in... (1 Reply)
Discussion started by: nour
1 Replies

4. UNIX for Dummies Questions & Answers

active working

hi! i want to create a list of the active working of the system classified by size and run the list on the monitor in a contolled pattern.Every active work has to appear only once. Any suggestions? also how can i create a list of the active working that does not belong to the user root?thanks (5 Replies)
Discussion started by: battaglia
5 Replies

5. Solaris

IPMP questions

Probe-based IPMP active - active Probe-based IPMP active - passive Link-based only active -standby ???? What are differences between Probe-based IPMP active - passive anddd Link-based only active -standby ???!!! For example in active active probe-based IPMP there are lets... (6 Replies)
Discussion started by: samar
6 Replies

6. Programming

Send/Receive buffer size??

Dear friends, How do I find the TCP send and receive buffer size? (1 Reply)
Discussion started by: nagalenoj
1 Replies

7. Shell Programming and Scripting

expect_out(buffer) empty

I have only some info into my buffer, but after a rssi command I see the folowing lines expected into buffer but not present : rssi=-106 rssi=-109 I see in my buffer only the first part of the output, here you are a part of script : #!/usr/bin/expect -f #global expect_out match_max 10000000... (1 Reply)
Discussion started by: ugobale
1 Replies

8. Shell Programming and Scripting

Awk command for search a string in lspv

I want to know wich hdisk have only one pvid and also display hdisk with two pvid. hdisk1 00c3fcd4e516183f testvg active hdisk2 00c3fcd4e516189b testvg active hdisk3 00c3fcd4e51618ec testvg ... (1 Reply)
Discussion started by: khalidou13
1 Replies

9. AIX

Question about HACMP for active-active mode

Hi all, I am new to HACMP. So sorry for the newie question. But I did search the forum and it seems that no one asks this before. So if a 2-node cluster runs in active-active mode (and the same application), what is the benefit of using HACMP ? If it runs in active-stanby, it is easy to... (9 Replies)
Discussion started by: qiulang
9 Replies

10. Shell Programming and Scripting

expect_out buffer no such variable running script background

I am trying to use send and receive using expect. the expect_out(buffer) is working fine while it is running it as foreground. But the same script when it is ran as background, the expect_out(buffer) errored out. Is there any factor influence when we run script in foreground and in background? ... (0 Replies)
Discussion started by: shellscripter
0 Replies

11. AIX

GPFS

Hello I am interested if anybody uses GPFS and is it must to have GPFS in the POWERHA environment? and can GPFS work as cluster active active or active passive thanks in advance (0 Replies)
Discussion started by: Vit0_Corleone
0 Replies

12. AIX

calculating the size of the luns using script

Hi This is the lspv output of my server : cbspsdb01 #lspv hdisk0 00c7518d2d512fd4 cdgvg active hdisk1 00c7518d2dcbc9d6 cdgvg active hdisk2 00c7518dcda9199a appvg active hdisk3... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

13. AIX

Disk is present but not active

hello, I have an issue with my aix box. the power went down. I got the box back up and can log into it. the datavg drives are not showing as active. How do i make them active. let me know if you need any screenshots let me know. Thanks ---------- Post updated at 09:48 PM ----------... (1 Reply)
Discussion started by: fierfek
1 Replies