Reverted to again make LIBXSTREAM_ASYNC_PENDING a local variable (in order to avoid re-targeting libxstream_workitem::pending). Code cleanup.
Reverted to again make LIBXSTREAM_ASYNC_PENDING a local variable (in order to avoid re-targeting libxstream_workitem::pending). Code cleanup.

hfp/libxstream,hfp/libxstream,mjklemm/libxstream,mjklemm/libxstream