list_empty_careful man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

LIST_EMPTY_CAREFUL(9)		  Data Types		 LIST_EMPTY_CAREFUL(9)

NAME
       list_empty_careful - tests whether a list is empty and not being
       modified

SYNOPSIS
       int list_empty_careful(const struct list_head * head);

ARGUMENTS
       head
	   the list to test

DESCRIPTION
       tests whether a list is empty _and_ checks that no other CPU might be
       in the process of modifying either member (next or prev)

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.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		 LIST_EMPTY_CAREFUL(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net