caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Wrapping C code using pthread.
@ 2009-12-25 20:57 Guillaume Yziquel
  2009-12-27  9:42 ` [Caml-list] " ygrek
  0 siblings, 1 reply; 7+ messages in thread
From: Guillaume Yziquel @ 2009-12-25 20:57 UTC (permalink / raw)
  To: OCaml List

Hello.

I'm currently trying to wrap up together a C interface for the MonetDB5 
database system. I'm getting quite a lot of segfaults (a lot of which 
come from MonetDB itself), and I'm therefore wondering the following 
about pthreads and OCaml:

The server is started via a pthread:

pthread_create(&sqlthread, NULL, start_sql_server, (void *) server);

and I would like to know what kind of things I should look at with 
C-side pthreads in order to avoid segfaults...

All the best,

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-12-30 23:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-25 20:57 Wrapping C code using pthread Guillaume Yziquel
2009-12-27  9:42 ` [Caml-list] " ygrek
2009-12-27 12:19   ` Guillaume Yziquel
2009-12-27 21:27     ` ygrek
2009-12-27 21:33       ` Guillaume Yziquel
2009-12-29  3:39         ` Jake Donham
2009-12-30 23:50           ` Guillaume Yziquel

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 NNTP newsgroup(s).