[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] newbie thread questions?
From: |
Basile STARYNKEVITCH |
Subject: |
[Chicken-users] newbie thread questions? |
Date: |
Thu, 11 Dec 2008 09:26:48 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
Hello All
(my second mail of questions; I'm very newbie!)
Apparently the Chicken thread package is continuation based and does not
use pthread hence is not able to take of profit of several cores running
several pthreads in the same unix process.
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?
Can I suppose that every chicken thread syncrhonisation primitives (in
particular mutex) are very cheap? My intuition is that they are
user-level function without any system calls (ie to futex) inside!
Thanks for reading.
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
membre de l'APRIL "promouvoir et défendre le logiciel libre"
Rejoignez maitenant pplus de 3500 adhérents http://www.april.org
- [Chicken-users] newbie thread questions?,
Basile STARYNKEVITCH <=