Re: Blocking handler

2004-06-24 Thread Coders
On Tue, 22 Jun 2004 16:19:34 +0200 Rodolfo wrote: RG> On Sun, Jun 20, 2004 at 01:44:48PM -0400, Robert Story wrote: RG> > Use the delegated flag and either a separate thread or a periodic RG> > non-blocking read. If you are gong to use threads, you need to read README.threads. The basic idea is th

Re: Blocking handler

2004-06-22 Thread Rodolfo Giometti
On Sun, Jun 20, 2004 at 01:44:48PM -0400, Robert Story wrote: > Use the delegated flag and either a separate thread or a periodic non-blocking > read. Ok, I used the solution you suggested by using a thread but I have a problem when referencing the delegated cache: * I register an handler for a s

Re: Blocking handler

2004-06-20 Thread Coders
On Sat, 19 Jun 2004 10:27:58 +0200 Rodolfo wrote: RG> can an handler be blocked during a get/set by a read()/write() system RG> call? yes. RG> For instance, if in the MODE_GET case I use a read() syscall to get a RG> variable value and it blocks the the whole agent blocks too? Right. But if you