Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.1.47. alt_llist_insert()

Prototype

void alt_llist_insert(alt_llist* list,

alt_llist* entry)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

No.

Available from ISR

Yes.

Include

<sys/alt_llist.h>

Description

The alt_llist_insert() function inserts the doubly linked list entry entry in the list list. This operation is not reentrant. For example, if a list can be manipulated from different threads, or from within both application code and an ISR, some mechanism is required to protect access to the list. Interrupts can be locked, or in MicroC/OS-II, a mutex can be used.

Return

--