[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] newbie thread questions?
From: |
F. Wittenberger |
Subject: |
Re: [Chicken-users] newbie thread questions? |
Date: |
Thu, 11 Dec 2008 14:08:19 +0100 |
Am Donnerstag, den 11.12.2008, 13:23 +0100 schrieb Peter Bex:
> On Thu, Dec 11, 2008 at 01:01:10PM +0100, J?rg F. Wittenberger wrote:
> > > Are there any Chicken packages which are blocking? More specifically,
> > > can I run, using the http package, both HTTP client & HTTP server & some
> > > other user code without being blocked by a slow system call?
> >
> > Don't know. Those I did not use so far.
>
> http just uses tcp ports, so they shouldn't cause problems. However, I
> can imagine that when the same program is reading from a tcp port and
> writing to the same port on the other end it could cause some kind of
> deadlock...?
As long as you have independent threads on each fd, there's not going to
be any problem. I'm using this self calling as a regression test in my
build process. Works hundreds of times in a row.