# release\_thread\_hints

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_release_thread_hints.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_release_thread_hints.html)

Hints to release if any hint is provided for the thread, this
    is to reset any thread to the default. release\_hint will work for any thread.

release_thread_hints()Copy to clipboard

## Parameters

| Parameters | API type | Data type | Description |
| --- | --- | --- | --- |
| hint\_category | Java | int | <ul class="ul"><li class="li">0: low_latency</li><br><li class="li">1- high_cpuutil </li><br><li class="li">2: low_cpuutil</li><br><li class="li">3:  thread_pipeline</li><br></ul><br><br>If category passes 3, it removes the<br>                threads added as part of the hint\_thread\_pipeline(). The tid parameter is<br>                ignored. |
| hint\_category | Native | uint8 | <ul class="ul"><li class="li">0: low_latency</li><br><li class="li">1- high_cpuutil </li><br><li class="li">2: low_cpuutil</li><br><li class="li">3:  thread_pipeline</li><br></ul><br><br>If category passes 3, it removes the<br>                threads added as part of the hint\_thread\_pipeline(). The tid parameter is<br>                ignored. |
| tids | Java | long | Give the TID need to reset the functionality defined in parameter<br>                category. |
| tids | Native | unit32 | Give the TID need to reset the functionality defined in parameter<br>                category. |
| ret\_val | Native | int8\_t& | On success this is the actual return value from the API.<br><br><br>                <br><ul class="ul"><br>                    <li class="li">0: Success</li><br><br>                    <li class="li">-1: Failed to apply hint</li><br><br>                    <li class="li">-2: Failed to establish session; check that <a href="https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_set_pkg.html">set_pkg</a>was called before this API</li><br><br>                  </ul> |
|  |  |  |  |

## Returns

| Return | API type | Data type | Description |
| --- | --- | --- | --- |
| response | Java | int | <ul class="ul"><br>                  <li class="li">0: Success</li><br><br>                  <li class="li">-1: Failed to apply hint</li><br><br>                  <li class="li">-2: Failed to establish session; check that <a href="https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_set_pkg.html">set_pkg </a> was called before this API</li><br><br>                </ul> |
| response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. |
|  |  |  |  |

**Parent Topic:** [QAPE subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_apis.html)

Last Published: Nov 14, 2024

[Previous Topic
hint\_thread\_pipeline](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_hint_thread_pipeline.md) [Next Topic
register\_thermal\_zone\_callback](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_register_thermal_zone_callback.md)