Browse thread
Wrapping C code using pthread.
- Guillaume Yziquel
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-12-25 (20:57) |
From: | Guillaume Yziquel <guillaume.yziquel@c...> |
Subject: | Wrapping C code using pthread. |
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/