From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Subject: scm_thread_create issues
Date: 28 Sep 2003 23:30:55 +0100 [thread overview]
Message-ID: <87wubsczq8.fsf@kanga.tapsellferrier.co.uk> (raw)
So, I'm trying to write a multithreaded server with Guile (where the
threads need to talk to C). Man, is it difficult.
I'm using devel (because I want real threads and the app will target
linux kernel 2.6 pthreads) and so I thought I'd just be able to use
the plugin interface.
In the documentation it says:
int scm_thread_create ( scm_t_thread *t,
void (*proc)(void *),
void *data)
But when I try to use it I get a sym error. Do a grep-find on the
guile-devel source and I can only find 2 places it's mentioned in the
code; 1 is a comment about changing scm_spawn_thread to
scm_thread_create and the other is in the null-threads provider.
So, does scm_thread_create really not exist yet?
If not, can someone tell me about scm_spawn_thread? It's signature is:
SCM_API SCM scm_spawn_thread (scm_t_catch_body body,
void *body_data,
scm_t_catch_handler handler,
void *handler_data);
Can anyone tell me what body, body_data, handler and handler_data are
supposed to _be_?
Nic Ferrier
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
reply other threads:[~2003-09-28 22:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87wubsczq8.fsf@kanga.tapsellferrier.co.uk \
--to=nferrier@tapsellferrier.co.uk \
/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).