register an xxpoll routine as distributed
int iopolldistributed (int (*iopoll) ();
routine as multithreaded.
Pointer to the
routine to be registered.
returns 1; otherwise, it returns -1.
On hardware configurations that do not support distributed interrupts
or on SCO UNIX systems before SCO OpenServer
that do not support distributed interrupts,
system performance may be improved
by moving interrupt processing to an
routine that is called by the clock interrupt routine.
All CPUs see clock interrupts,
so moving processing to the driver's poll time
provides better scalability.
Careful structuring of locks and data structures
will avoid contention for critical resources
at clock interrupt time.
A better solution is to use
to poll the device periodically,
such as every ten clock ticks.
This will lessen the performance degradation
that can occur when a device is polled at every clock tick
Drivers that call
must first call
to register themselves as character multithreaded drivers.
Context and synchronization
2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
SVR5 DDI compatibility
This function is not supported for DDI drivers.
Drivers for devices that do not generate interrupts
should be written to use the
function to poll the device periodically.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005