OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
blacs_free_.c File Reference
#include "Bdef.h"

Go to the source code of this file.

Functions

F_VOID_FUNC blacs_freebuff_ (Int *ConTxt, Int *Wait)

Function Documentation

◆ blacs_freebuff_()

F_VOID_FUNC blacs_freebuff_ ( Int * ConTxt,
Int * Wait )

Definition at line 6 of file blacs_free_.c.

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
struct bLaCbUfF BLACBUFF
Definition Bdef.h:53
#define Mpval(para)
Definition Bdef.h:261