---
title: "taggedRelease(const void *, const int)"
framework: kernel
role: pseudoSymbol
path: kernel/ossymbol/1808154-taggedrelease
---

# taggedRelease(const void *, const int)

Overrides OSObject::taggedRelease(const void *, const int) to synchronize with the symbol pool.

## Declaration

```occ
virtual void taggedRelease( 
 const void *tag, 
 const intfreeWhen) const; 
```

## Parameters

- `tag`: Used for tracking collection references.
- `freeWhen`: If decrementing the reference count makes it >= freeWhen, the object is immediately freed.

## Overview

Overview Because OSSymbol shares instances, the reference-counting functions must synchronize access to the class-internal tables used to track those instances.

## See Also

### Miscellaneous

- [free](kernel/ossymbol/1808021-free.md)
- [initWithCString](kernel/ossymbol/1808026-initwithcstring.md)
- [initWithCStringNoCopy](kernel/ossymbol/1808036-initwithcstringnocopy.md)
- [initWithString](kernel/ossymbol/1808054-initwithstring.md)
- [isEqualTo](kernel/ossymbol/1808078-isequalto.md)
- [isEqualTo(const char *)](kernel/ossymbol/1808093-isequalto.md)
- [isEqualTo(const OSSymbol *)](kernel/ossymbol/1808114-isequalto.md)
- [taggedRelease(const void *)](kernel/ossymbol/1808137-taggedrelease.md)
- [withCString](kernel/ossymbol/1808171-withcstring.md)
- [withCStringNoCopy](kernel/ossymbol/1808179-withcstringnocopy.md)
- [withString](kernel/ossymbol/1808192-withstring.md)
