Re: Threads, Client server model and wodssh - WeOnlyDo Discussion board

Re: Threads, Client server model and wodssh (General questions)

by wodSupport, Monday, February 27, 2006, 14:14 (6641 days ago) @ Stelios

Stelios,

I should ask you, why does your app freeze in the first place? How often are you executing commands? Several times per second? And responses, are they tooooooo large? It's really wierd for it to freeze when we talk about SSH and unix commands which generally don't last too long.

Anyway.. I don't think creating new thread will solve your problems. Sure, you can have one in VB using few tricks, but you can't do anything with it except make it 'be on their own'. If such thread fires any event, VB will crash. You would have to use blocking mode with Sleep API calls etc.. I don't think this is convinient model.

As for client-server, this sounds as much more interesting. You can easily pass data back and forth using some sort of IPC mechanism, and service could handle it with ease.

But.. Who says that service will not block as well? What will make it so different than your current app?

Kreso


Complete thread: