Query: list_empty_careful
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LIST_EMPTY_CAREFUL(9) Data Types LIST_EMPTY_CAREFUL(9)NAMElist_empty_careful - tests whether a list is empty and not being modifiedSYNOPSISint list_empty_careful(const struct list_head * head);ARGUMENTShead the list to testDESCRIPTIONtests whether a list is empty _and_ checks that no other CPU might be in the process of modifying either member (next or prev)NOTEusing 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 LIST_EMPTY_CAREFUL(9)
Related Man Pages |
---|
mpage_readpages(9) - suse |
list(3) - debian |
list(3) - suse |
tag(3tcl) - opensolaris |
tag(3tcl) - bsd |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Change directory error |
Cut command on RHEL 6.8 compatibility issues |
SOCKS proxy & PAM configuration exposure |
Tar Command |