OpenSS7
SS7 for the
Common Man
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.
Last modified: Sat, 01 Nov 2008 10:41:54 GMT
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Documentation -> Man Pages -> Manual Page
Quick Links

Download

SCTP

SIGTRAN

SS7

Hardware

STREAMS

Asterisk

Related

Package

Manual

FAQ

Man Pages

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

OS

Documentation

FAQ

SIGTRAN

Design

Conformance

Performance

References

Man Pages

Manuals

Papers

Home

Overview

Status

Documentation

Resources

About

News

Description: Manual Page

Keywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpci


DELAY

Section: Linux Fast-STREAMS DDI/DKI (9)
Updated: 2008-10-31
Index Return to Main Contents

NAME

delay - postpone the calling process for a number of clock ticks

SYNOPSIS

#include <sys/stream.h>
#include <sys/ddi.h>
void delay(unsigned long ticks)

ARGUMENTS

ticks

the number of clock ticks to delay.

INTERFACE

DDI/DKI.

DESCRIPTION

delay() schedules the calling process for at least the number of system clock ticks specified by the ticks argument.

USAGE

delay() is only usable from user (blockable) context. This makes it not very useful for STREAMS drivers and modules. See SV_WAIT(9) or qwait(9) for other approaches.

RETURN

delay() returns void.

ERRORS

delay() fails silently.

CONTEXT

delay() can be called from user context which includes qi_qopen(9) and qi_qclose(9) procedures. If called from STREAMS context, it will block the softirq kernel daemon thread and have hazardous effects on system performance.

MP-STREAMS

delay() is MP-safe.

NOTICES

delay() will not be interrupted by a signal.

IMPLEMENTATION

delay() is implemented using the Linux kernel function schedule_timeout(9).

SEE ALSO

udelay(9), drv_usecwait(9), SV_WAIT(9), qwait(9).

BUGS

delay() has no known bugs.

COMPATIBILITY

delay() is compatible with SVR 4.2 MP DDI/DKI[1] and systems based on SVR 4.2 MP, with the following portability considerations:

---
delay() is a function that was originally included in STREAMS[2] that later made it into the DDI/DKI[1], which is why it is included here instead of in the STREAMS Compatibility Modules strcompat(5) with the other DDI/DKI functions.
---
delay() is provided for source level compatibility with SVR 4.2 for the purpose of porting SVR 4.2 drivers to Linux. Because internal structures and definitions for Linux Fast-STREAMS[3] differ from that of SVR 4.2 binaries are incompatible.
---
delay() only provides functionality comparable to SVR 4.2 for use by STREAMS drivers and modules. Any and all functionality provided by delay() in support of non-STREAMS devices are not supported.

See STREAMS(9) for additional compatibility considerations.

CONFORMANCE

SVR 4.2 MP DDI/DKI[1,4].

HISTORY

delay() first appeared in SVR 3[5].

REFERENCES

[1]
USL DDI/DKI, Device Driver Interface/Driver-Kernel Interface (DDI/DKI) Reference Manual for Intel Processors, 1992, (Englewood Cliffs, New Jersey), AT&T UNIX System Laboratories, Inc., Prentice Hall.
[2]
SVR 3, UNIX® System V Release 3 STREAMS Programmer's Guide, (Englewood Cliffs, New Jersey), AT&T UNIX System Laboratories, Inc., Prentice Hall.
[3]
streams-0.9.2, Linux Fast-STREAMS (LfS) 0.9.2 Source Code, Brian Bidulock, ed., OpenSS7 Corporation. <http://www.openss7.org/>
[4]
SVR 4.2, STREAMS Programmer's Guide, 1992, (Englewood Cliffs, New Jersey), AT&T UNIX System Laboratories, Inc., Prentice Hall.
[5]
SVR 3, UNIX® System V Release 3 Programmer's Manual, (Englewood Cliffs, New Jersey), AT&T UNIX System Laboratories, Inc., Prentice Hall.

TRADEMARKS

OpenSS7tm
is a trademark of OpenSS7 Corporation.
Linux®
is a registered trademark of Linus Torvalds.
UNIX®
is a registered trademark of The Open Group.
Solaris®
is a registered trademark of Sun Microsystems.

Other trademarks are the property of their respective owners.

IDENTIFICATION


Linux Fast-STREAMS: Package streams version 0.9.2.4 released 2008-10-31.

Copyright©1997-2008OpenSS7 Corp. All Rights Reserved.
(See roff source for permission notice.)



Index

NAME
SYNOPSIS
ARGUMENTS
INTERFACE
DESCRIPTION
USAGE
RETURN
ERRORS
CONTEXT
MP-STREAMS
NOTICES
IMPLEMENTATION
SEE ALSO
BUGS
COMPATIBILITY
CONFORMANCE
HISTORY
REFERENCES
TRADEMARKS
IDENTIFICATION

This document was created by man2html, using the manual pages.
Time: 15:30:51 GMT, May 23, 2013
OpenSS7
SS7 for the
Common Man
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Documentation -> Man Pages -> Manual Page
Last modified: Sat, 01 Nov 2008 10:41:54 GMT
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.