tail head cat sleep
QR code linking to this page

Manual Pages  — BUF_LOCKFREE

NAME

BUF_LOCKFREE – destroys a buffer's lock

CONTENTS

SYNOPSIS

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>

void
BUF_LOCKFREE(struct buf *bp);

DESCRIPTION

The BUF_LOCKFREE() macro destroys the buffer lock. The lock must not be held when this macro is called or a panic will result.

Its argument is:
bp
  The buffer whose lock is to be destroyed.

SEE ALSO

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockdestroy(9)

AUTHORS

This manual page was written by Chad David <Mt davidc@acns.ab.ca>.

BUF_LOCKFREE (9) July 9, 2001

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook