Rune - Threading fixes, cleanups
* Implement importdesc(). This sets O_NONBLOCK on the descriptor when
extpread()/extpwrite() are not available.
* Cleanup the Stream and StreamPair class a bit. Separate the allocation
for the read and write streams in StreamPair. This allows accessors to
separately thread the read and write side without deadlocking each other.
* Fix per-rgd TaskReadAry and TaskWriteAry handling. Recent threading
changes now allow all rgd's to maintain their own KQueue.
* Preallocate the array of lists instead of having an array of pointers
for TaskReadAry and TaskWriteAry. Its just easier, and the size of
the array is dynamic anyway (based on number of descriptors).
* Implement I/O support on systems which do not have extpread() and
extpwrite().
* Fix RunThreads accounting.
* Fix threadPushRunnable() use cases.
* Remove a bunch of LASTQUEUE related debugging.
13 files changed: