libsc
2.8.7
The SC library provides support for parallel scientific applications.
|
Support for calls between different parts of the sc library. More...
#include <sc.h>
Go to the source code of this file.
Functions | |
void | sc_package_rc_count_add (int package_id, int toadd) |
Add to the per-package variable about active reference counters. More... | |
Support for calls between different parts of the sc library.
This is not meant for use from other packages or applications.
void sc_package_rc_count_add | ( | int | package_id, |
int | toadd | ||
) |
Add to the per-package variable about active reference counters.
This function is thread safe; it uses per-package locking internally
[in] | package_id | The id of a registered package or -1. |
[in] | toadd | This is added to the package's internal variable that counts active rcs. We assert that the new count does not drop below zero. |