OAR

RTEMS 4.0.0 On-Line Library


Understand the network scheduling conventions

PREV UP NEXT Bookshelf RTEMS Network Supplement

2.3: Understand the network scheduling conventions

When writing code for your driver transmit and receive tasks you must take care to follow the network scheduling conventions. All tasks which are associated with networking share various data structures and resources. To ensure the consistency of these structures the tasks execute only when they hold the network semaphore (rtems_bsdnet_semaphore). Your transmit and receive tasks must abide by this protocol which means you must be careful to avoid `deadly embraces' with the other network tasks. A number of routines are provided to make it easier for your code to conform to the network task scheduling conventions.


PREV UP NEXT Bookshelf RTEMS Network Supplement

Copyright © 1988-1998 OAR Corporation