-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### array<T>::less | ||
- **Return Type**: `bool` | ||
- **Parameters**: | ||
- `a`: A constant reference to the first element of type T. | ||
- `b`: A constant reference to the second element of type T. | ||
- **Description**: This function is used as a comparator for arrays. It returns true if `a` should come before `b` in the sorted order, and false otherwise. | ||
|
||
### exit_callback | ||
- **Return Type**: `int` | ||
- **Parameters**: None | ||
- **Description**: This function is called when the application is exiting. If function returns 0, application can free the memory and exit. If function returns 1, exit function can not be called and application will continue work. | ||
|
||
### thread_func | ||
- **Return Type**: `void` | ||
- **Parameters**: None | ||
- **Description**: This function defines the entry point for a new thread. It is responsible for the execution of tasks within that thread. |