SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
blacs_free_.c
Go to the documentation of this file.
1#include "Bdef.h"
2
3#if (INTFACE == C_CALL)
4void Cblacs_freebuff(Int ConTxt, Int Wait)
5#else
7#endif
8{
12
13 if (Mpval(Wait)) /* wait for all buffers to be done */
14 {
15 while (BI_ActiveQ != NULL) BI_UpdateBuffs(NULL);
16 }
17 else BI_UpdateBuffs(NULL);
18
19 if (BI_ReadyB)
20 {
21 free(BI_ReadyB);
22 BI_ReadyB = NULL;
23 }
24}
Int BI_BuffIsFree(BLACBUFF *bp, Int Wait)
BLACBUFF * BI_ReadyB
BLACBUFF * BI_ActiveQ
void BI_UpdateBuffs(BLACBUFF *Newbp)
#define Int
Definition Bconfig.h:22
#define F_VOID_FUNC
Definition Bdef.h:232
#define Mpval(para)
Definition Bdef.h:261
void Cblacs_freebuff()
F_VOID_FUNC blacs_freebuff_(Int *ConTxt, Int *Wait)
Definition blacs_free_.c:6