1 //------------------------------------------------------------------------------
2 // GrB_finalize: finalize GraphBLAS
3 //------------------------------------------------------------------------------
4
5 // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
6 // SPDX-License-Identifier: Apache-2.0
7
8 //------------------------------------------------------------------------------
9
10 // GrB_finalize must be called as the last GraphBLAS function, per the
11 // GraphBLAS C API Specification. Only one user thread can call this function.
12 // Results are undefined if more than one thread calls this function at the
13 // same time.
14
15 #include "GB.h"
16
GrB_finalize()17 GrB_Info GrB_finalize ( )
18 {
19 // free all memory pools
20 GB_free_pool_finalize ( ) ;
21 return (GrB_SUCCESS) ;
22 }
23
24