David Thanks for your email to the group.
Any help is appreciated.
I have used LAM only minimally. Hi Jeff, thanks for your prompt and complete answer. I started looking at your code more carefully and realized that actually the reads on the socket were indeed blocking, so I started to try to figure out why the operation was being non-blocking in my case. If the system design doesn't allow the use of native threads then it's necessary to hack lam the way I did. I hope this can help anybody in the future.