LIST_EMPTY_CAREFUL

Section: (9)
Updated: 13 April 2004
Index Return to Main Contents

 

NAME

list_empty_careful - tests whether a list is  

SYNOPSIS

int list_empty_careful (const struct list_head * head);  

ARGUMENTS

head
the list to test.
 

DESCRIPTION

empty _and_ checks that no other CPU might be in the process of still modifying either member  

NOTE

using list_empty_careful without synchronization can only be safe if the only activity that can happen to the list entry is list_del_init. Eg. it cannot be used if another CPU could re-list_add it.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:21:58 GMT, April 13, 2004