Shore Threads

Compile Time Configuration

USE_POSIX_TIME
EXPENSIVE_STATS
PIPE_NOTIFY
SHORE_TRACE

Run Time Configuration

STHREAD_DEBUG
STHREAD_FASTPATH
If this is set to a non-zero numeric value, all opens presented to the thread system will try to use "fast path" I/O. Using Fast Path I/O is an attempt to reduce overhead when the only thing running is the thread doing the I/O. Instead of forwarding the I/O request to a diskrw process, the process will do the I/O itself, blocking in the local kernel instead of trying to run other threads or process events.
STHREAD_EVENTS
This is only recognized when more than one mechanism for event handling is compiled into the system. Currently the two choices on Unix are select() and poll(). To choose one, place "select" or "poll" in the variable. The string "default" will use whatever the default selected for the system is. On almost everything that default is select(). However on Solaris the default is poll() due to the overhead and buglist of their library select implementation. Th

Bolo's Home Page
Last Modified: Tue Aug 26 14:25:38 CDT 1997
bolo (Josef Burger) <bolo@cs.wisc.edu>