Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

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

--