# 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. |
| Native | uint8 |
| tids | Java | long | Give the TID need to reset the functionality defined in parameter<br>                category. |
| Native | unit32 |
| 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 title="Binds the package name with the current session, if this API is not called, then a session with performance API is not established and any call to the performance API and error will return as -2." class="xref cursorpointer" onclick="Window.BookmapComponent.navigateFile('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 title="Binds the package name with the current session, if this API is not called, then a session with performance API is not established and any call to the performance API and error will return as -2." class="xref cursorpointer" onclick="Window.BookmapComponent.navigateFile('qape_set_pkg.html')">set_pkg </a> was called before this API</li><br><br>                </ul> |
| Native | qesdk\_transaction\_status | See QESDK transaction status for Native APIs 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

Last Published: Nov 14, 2024

Previous Topic
 
hint\_thread\_pipeline Next Topic

register\_thermal\_zone\_callback