*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_page_sleep_busy (9)              
Title
Content
Arch
Section
 

VM_PAGE_SLEEP_BUSY(9)

Contents


NAME    [Toc]    [Back]

     vm_page_sleep_busy -- wait for a busy page to become unbusy

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/vm_page.h>

     int
     vm_page_sleep_busy(vm_page_t m, int also_m_busy, const char *wmesg);

DESCRIPTION    [Toc]    [Back]

     The vm_page_sleep_busy() function waits until the PG_BUSY flag is
     cleared.  If also_m_busy is non-zero, it also waits for m->busy to become
     zero.

RETURN VALUES    [Toc]    [Back]

     If vm_page_sleep_busy() finds the page busy it returns TRUE.  If not, it
     returns FALSE.  Returning TRUE does not necessary mean that
     vm_page_sleep_busy() slept, but only that splvm() was called.

AUTHORS    [Toc]    [Back]

     This man page was written by Chad David <[email protected]>.


FreeBSD 5.2.1			 July 13, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
vfs_unbusy FreeBSD unbusy a mount point
DELAY FreeBSD busy loop for an interval
VkBusyDialog IRIX Manage and display busy dialogs
vfs_busy FreeBSD marks a mount point as busy
busy Linux Make Tk widgets busy, temporarily blocking user interactions.
msleep FreeBSD wait for events
wakeup_one FreeBSD wait for events
sigsuspend HP-UX wait for a signal
wakeup FreeBSD wait for events
tsleep FreeBSD wait for events
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service