Nios® V Processor Software Developer Handbook

ID 743810
Date 7/20/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

13.1.1.45. 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

--