From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: Dmitry Polyakov <liltechdude@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: Web development without connections to external repl (in geiser)
Date: Sun, 16 Oct 2022 09:12:42 +0200 [thread overview]
Message-ID: <87h704z1dz.fsf@web.de> (raw)
In-Reply-To: <871qr8jru7.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
Dmitry Polyakov <liltechdude@gmail.com> writes:
>> Using fibers, I thought I could run the web server in seperate thread
>> that dont block current one where, for example, I could rebind the
>> handler (via ice-9 atomics or something). But it's not, after eval
>> (run-server handler), repl get stuck. May be I misunderstood something?
>> This is code:
>
> May this is because of main thread is blocked by REPL?
Have a look at the cooperative REPL in chickadee:
https://www.gnu.org/software/guile/manual/html_node/Cooperative-REPL-Servers.html
https://dthompson.us/manuals/chickadee/Live-Coding.html
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
prev parent reply other threads:[~2022-10-16 7:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-15 19:23 Web development without connections to external repl (in geiser) Dmitry Polyakov
2022-10-16 4:49 ` Dmitry Polyakov
2022-10-16 7:12 ` Dr. Arne Babenhauserheide [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h704z1dz.fsf@web.de \
--to=arne_bab@web.de \
--cc=guile-user@gnu.org \
--cc=liltechdude@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).