* scm_thread_create issues
@ 2003-09-28 22:30 Nic Ferrier
0 siblings, 0 replies; only message in thread
From: Nic Ferrier @ 2003-09-28 22:30 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-28 22:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-28 22:30 scm_thread_create issues Nic Ferrier
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).