Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

16.1.1.41. 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 disabled, or in MicroC/OS-II, a mutex can be used.

Return

--